Add 'install.sh'
This commit is contained in:
parent
c98b4a6444
commit
53f84cdd6a
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue