Update glacier
This commit is contained in:
parent
2df34b663d
commit
49475014da
@ -51,6 +51,8 @@ while [[ $# -gt 0 ]]; do
|
|||||||
fi
|
fi
|
||||||
chmod +x INSTALL.sh
|
chmod +x INSTALL.sh
|
||||||
chmod +x $input.ts.sh
|
chmod +x $input.ts.sh
|
||||||
|
printf "$blue [ i ] The following instruction set will be executed:$reset\n"
|
||||||
|
cat INSTALL.sh
|
||||||
printf "\033[1;34m [ i ] \033[m Executing installation instructions...\n"
|
printf "\033[1;34m [ i ] \033[m Executing installation instructions...\n"
|
||||||
./INSTALL.sh # Actually executes installation script
|
./INSTALL.sh # Actually executes installation script
|
||||||
./$input.ts.sh
|
./$input.ts.sh
|
||||||
@ -85,6 +87,9 @@ while [[ $# -gt 0 ]]; do
|
|||||||
rm /var/log/glacier/$input.timestamp
|
rm /var/log/glacier/$input.timestamp
|
||||||
chmod +x UPDATE.sh
|
chmod +x UPDATE.sh
|
||||||
chmod +x $input.ts.sh
|
chmod +x $input.ts.sh
|
||||||
|
printf "$blue [ i ]$reset The following instruction set will be executed:\n"
|
||||||
|
cat UPDATE.sh
|
||||||
|
printf "\033[1;34m [ i ] \033[m Executing update instructions...\n"
|
||||||
./UPDATE.sh
|
./UPDATE.sh
|
||||||
./$input.ts.sh
|
./$input.ts.sh
|
||||||
printf "\033[1;34m [ i ] \033[m Cleaning up...\n"
|
printf "\033[1;34m [ i ] \033[m Cleaning up...\n"
|
||||||
@ -117,6 +122,9 @@ while [[ $# -gt 0 ]]; do
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
chmod +x REMOVE.sh
|
chmod +x REMOVE.sh
|
||||||
|
printf "$blue [ i ] The following instruction set will be executed:$reset\n"
|
||||||
|
cat REMOVE.sh
|
||||||
|
printf "$blue [ i ] Executing removal instructions...\n"
|
||||||
./REMOVE.sh
|
./REMOVE.sh
|
||||||
rm /var/log/glacier/$input.timestamp
|
rm /var/log/glacier/$input.timestamp
|
||||||
printf "\033[1;34m [ i ] \033[m Cleaning up... \n" # Status message
|
printf "\033[1;34m [ i ] \033[m Cleaning up... \n" # Status message
|
||||||
|
Loading…
Reference in New Issue
Block a user