youtube-dl wget without sudo

master
Anthony Axenov 2023-04-11 14:51:36 +00:00
parent be8d9ab4a6
commit 805716e9b4
1 changed files with 2 additions and 2 deletions

View File

@ -9,5 +9,5 @@ echo "Installing youtube-dl..."
echo "==============================================="
echo
sudo 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"