mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-16 16:19:22 +01:00
13 lines
338 B
Bash
13 lines
338 B
Bash
|
#!/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
|