bash/youtube-dl.bash: close #1

This commit is contained in:
Mikaela Suomalainen 2014-07-12 16:46:50 +03:00
parent 4619036d86
commit 5f070eec86

12
bash/youtube-dl.bash Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
if [[ $USER != "root" ]]; then
NOROOT="--user"
fi
pip --version
sleep 10
# Install requirements, commented as they don't exist.
#pip install -vr https://raw.githubusercontent.com/rg3/youtube-dl/master/requirements.txt --upgrade $NOROOT
pip install -v git+https://github.com/rg3/youtube-dl.git --upgrade $NOROOT