add missing code comments
This commit is contained in:
parent
9e07480669
commit
ba2c8ad560
@ -12,9 +12,13 @@ echo "################"
|
||||
moddir="/home/$USER/.minecraft"
|
||||
cd ${moddir}
|
||||
|
||||
|
||||
|
||||
process0="Backing up existing mod folder..."
|
||||
printf "${process0}"\\r;
|
||||
zip -r -q ./mods/.mod-folder-backup.zip mods && printf "${process0} \e[32m[DONE!]\e[0m"
|
||||
#i didnt even know `zip` as a standalone command existed.
|
||||
#this needs to be a tar.gz archive.
|
||||
echo
|
||||
sleep 1
|
||||
|
||||
@ -34,6 +38,9 @@ cd ${moddir}
|
||||
process2="Downloading mod package..."
|
||||
printf "${process2}"\\r;
|
||||
sudo curl http://192.168.7.208:420/api/shares/YxMjU3N/files/e641be0e-bccd-4f3d-8a86-7dbbb8f88263 -O -J -L -s && printf "${process2} \e[32m[DONE!]\e[0m"
|
||||
#what the fuck?
|
||||
#how does this work?
|
||||
#fix this.
|
||||
echo
|
||||
sleep 1
|
||||
|
||||
@ -52,4 +59,5 @@ sleep 1
|
||||
echo Exiting...
|
||||
sleep 4
|
||||
|
||||
#god bash is so much nicer than windows CMD scripts
|
||||
exit
|
||||
|
Reference in New Issue
Block a user