|
|
|
@ -136,13 +136,18 @@ echo " * OK" |
|
|
|
if ! scripts/install.sh; then |
|
|
|
if ! scripts/install.sh; then |
|
|
|
if [ $? != 130 ]; then |
|
|
|
if [ $? != 130 ]; then |
|
|
|
echo |
|
|
|
echo |
|
|
|
echo "INSTALLATION FAILED!" |
|
|
|
printf '\e[31;1m' # red color on |
|
|
|
echo "I'm sorry for the inconvenience." |
|
|
|
printf '┌────────────────────────────┐\n' |
|
|
|
|
|
|
|
printf '│ │\n' |
|
|
|
|
|
|
|
printf '│ INSTALLATION FAILED! │\n' |
|
|
|
|
|
|
|
printf '│ │\n' |
|
|
|
|
|
|
|
printf '└────────────────────────────┘\n' |
|
|
|
|
|
|
|
printf '\e[0m' # reset |
|
|
|
echo |
|
|
|
echo |
|
|
|
echo "Please create an issue: https://github.com/curusarn/resh/issues" |
|
|
|
echo "Please create an issue: https://github.com/curusarn/resh/issues" |
|
|
|
fi |
|
|
|
fi |
|
|
|
echo |
|
|
|
echo |
|
|
|
echo "You can rerun the installation by executing: (this will skip downloading)" |
|
|
|
echo "Rerun the installation and skip downloading by running:" |
|
|
|
echo |
|
|
|
echo |
|
|
|
echo "cd $PWD && scripts/install.sh" |
|
|
|
echo "cd $PWD && scripts/install.sh" |
|
|
|
echo |
|
|
|
echo |
|
|
|
|