From ed10ab05d42d19d9ba932097f3b02b213ea5ca4c Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Wed, 31 Jul 2024 23:36:46 +0800 Subject: [PATCH] misc --- install/vivaldi | 1 + install/youtube-dl | 4 ++-- install/ytdlcue | 4 ++-- install/zsh | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/install/vivaldi b/install/vivaldi index d803d51..d8c443d 100755 --- a/install/vivaldi +++ b/install/vivaldi @@ -1,6 +1,7 @@ #!/bin/bash ##makedesc: Install Vivaldi + ppa +# https://repo.vivaldi.com # https://help.vivaldi.com/desktop/#install-update # https://help.vivaldi.com/desktop/install-update/manual-setup-vivaldi-linux-repositories/ diff --git a/install/youtube-dl b/install/youtube-dl index bec0b07..0d4204c 100755 --- a/install/youtube-dl +++ b/install/youtube-dl @@ -12,8 +12,8 @@ echo # 11.04.23: release 2021.12.17 in snap/apt/github is broken (Unable to extract uploader id) # and still no fix officially released, so we just build it from actual sources -# curl -L https://yt-dl.org/downloads/latest/youtube-dl -o "${HOME}/.local/bin/youtube-dl" && \ -# sudo chmod +rx "${HOME}/.local/bin/youtube-dl" +# curl -L https://yt-dl.org/downloads/latest/youtube-dl -o "$HOME/.local/bin/youtube-dl" && \ +# sudo chmod +rx "$HOME/.local/bin/youtube-dl" installed() { command -v "$1" >/dev/null 2>&1 diff --git a/install/ytdlcue b/install/ytdlcue index fcfe3a4..1cf7533 100755 --- a/install/ytdlcue +++ b/install/ytdlcue @@ -11,5 +11,5 @@ echo install_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" tools_dir="`dirname $install_dir`/tools" -cp "${tools_dir}/ytdlcue.sh" "${HOME}/.local/bin/ytdlcue" -sudo chmod +rx "${HOME}/.local/bin/ytdlcue" +cp "${tools_dir}/ytdlcue.sh" "$HOME/.local/bin/ytdlcue" +sudo chmod +rx "$HOME/.local/bin/ytdlcue" diff --git a/install/zsh b/install/zsh index 0d7dc39..2e73d2e 100755 --- a/install/zsh +++ b/install/zsh @@ -8,4 +8,4 @@ echo "===============================================" echo sudo apt install -y --autoremove zsh -echo "source ~/.profile" >> ~/.zshrc +echo "source ~/.profile" >> "$HOME/.zshrc"