Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (14 sloc) 496 Bytes
#!/usr/bin/env bash
set -e
echo "installing python dependencies"
if type "pip" > /dev/null; then
sudo pip install -r requirements.txt
elif type "pip3" > /dev/null; then
sudo pip3 install -r requirements.txt
fi
echo "copying scripts and configuration"
sudo cp .pkup.conf ~/
sudo cp pkup_doc.py /usr/local/bin/
sudo cp pkup /usr/local/bin/
echo "PKUP scripts installed successfully"
echo "YOUR ACTION REQUIRED: Please edit ~/.pkup.conf file to add your personal configuration and reload shell"