Add 'install.sh'

This commit is contained in:
JaydenMW 2021-02-28 20:38:28 +00:00
parent c98b4a6444
commit 53f84cdd6a
1 changed files with 23 additions and 0 deletions

23
install.sh Normal file
View File

@ -0,0 +1,23 @@
# 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