Glacier v2.2.2 - minor bug fixes

This commit is contained in:
lw-everestlinux 2022-07-26 14:03:14 -04:00
parent 4d65c0fb9e
commit fd6e494314

View File

@ -52,6 +52,7 @@ while [[ $# -gt 0 ]]; do
tar -xf $input.tar.gz tar -xf $input.tar.gz
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
printf "\033[1;31m [ \xE2\x9C\x95 ] \033[m Could not unpack $input.tar.gz.\n" 1>&2 printf "\033[1;31m [ \xE2\x9C\x95 ] \033[m Could not unpack $input.tar.gz.\n" 1>&2
cd .. && rm -rf $input
exit 1 exit 1
fi fi
# Run installation hooks # Run installation hooks
@ -63,6 +64,7 @@ while [[ $# -gt 0 ]]; do
./INSTALL.sh ./INSTALL.sh
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
printf "$red [ $error ]$reset Instructions were either unable to execute, or encountered an error while executing.\n" 1>&2 printf "$red [ $error ]$reset Instructions were either unable to execute, or encountered an error while executing.\n" 1>&2
cd .. && rm -rf $input
exit 1 exit 1
fi fi
./$input.ts.sh ./$input.ts.sh