pclish/install.sh

24 lines
652 B
Bash

# PCLISH - Python Command Line Shell
# Installation Script
echo Cloning Repo to ~/.tmp/pclish-installer/files
git clone https://tildegit.org/jaydenmw/pclish ~/.tmp/pclish-installer/files
if [ -d "~/jaydenmw" ]; then
echo "~/.jaydenmw dir already exists... skipping"
else
echo "~/.jaydenmw dir doesn't exist yet... creating dir"
mkdir ~/.jaydenmw
fi
echo Creating pclish dir ~/.jaydenmw/pclish
mkdir ~/.jaydenmw/pclish
echo Installing...
mv ~/.tmp/pclish-installer/files/* ~/.jaydenmw/pclish
echo Adding software to path
echo export PATH="$HOME/.jaydenmw:$PATH" >> ~/.bashrc
echo Restarting bash...
source ~/.bashrc
echo Installation Complete