Skip to content

Commit

Permalink
Better installation failed banner
Browse files Browse the repository at this point in the history
  • Loading branch information
curusarn committed Apr 5, 2023
1 parent e076add commit bb66c58
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions scripts/rawinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,18 @@ echo " * OK"
if ! scripts/install.sh; then
if [ $? != 130 ]; then
echo
echo "INSTALLATION FAILED!"
echo "I'm sorry for the inconvenience."
printf '\e[31;1m' # red color on
printf '┌────────────────────────────┐\n'
printf '│ │\n'
printf '│ INSTALLATION FAILED! │\n'
printf '│ │\n'
printf '└────────────────────────────┘\n'
printf '\e[0m' # reset
echo
echo "Please create an issue: https://github.com/curusarn/resh/issues"
fi
echo
echo "You can rerun the installation by executing: (this will skip downloading)"
echo "Rerun the installation and skip downloading by running:"
echo
echo "cd $PWD && scripts/install.sh"
echo
Expand Down

0 comments on commit bb66c58

Please sign in to comment.