diff --git a/bash/youtube-dl.bash b/bash/youtube-dl.bash new file mode 100755 index 0000000..e5d3f93 --- /dev/null +++ b/bash/youtube-dl.bash @@ -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