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:
parent
775870dcdf
commit
afe207b448
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user