1
0
mirror of https://github.com/vikstrous/pirate-get synced 2025-01-26 12:34:19 +01:00

Add pip to README and install.sh.

This commit is contained in:
Brian Peiris 2014-12-31 07:56:40 -05:00
parent 775870dcdf
commit afe207b448
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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