diff --git a/README.md b/README.md index 6ca0749..d0c0e6c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Tested on Arch Linux mostly. It should work on any other Linux too. Let me know ## Installation -Make sure you have python 2 installed. +Make sure you have python 2 and pip installed. Run install.sh diff --git a/install.sh b/install.sh index c60bdb3..0db071c 100755 --- a/install.sh +++ b/install.sh @@ -14,10 +14,13 @@ TMP=$(mktemp pirate-get-XXXXXX) echo "#!/usr/bin/env python" > "$TMP" fi -sed 1d $(dirname $0)/pirate-get.py >> "$TMP" + sed 1d $(dirname $0)/pirate-get.py >> "$TMP" cp "$TMP" /usr/bin/pirate-get && chmod +x /usr/bin/pirate-get && chmod 755 /usr/bin/pirate-get && + + pip install -r requirements.txt && + rm $TMP } || rm $TMP