A few tweaks and updates to allow for packages to be excluded

This commit is contained in:
Paul M 2023-10-29 18:35:12 -05:00
parent b154e4a448
commit b7f394a0e8
3 changed files with 9 additions and 4 deletions

View file

@ -1,6 +1,8 @@
#!/bin/bash
# set -x
# set -x # For debugging
set -eo pipefail # No -u that would just bother me
trap cleanup EXIT # A little more robust cleanup
if [ "$(id -u)" != "0" ]; then
echo "You should run this script as root"
@ -118,7 +120,7 @@ clear
case $selection in
1 ) clear ; copy_config ; press_enter ;;
2 ) clear ; menu_option_two ; press_enter ;;
0 ) clear ; cleanup ; exit ;;
0 ) clear ; exit ;;
* ) clear ; incorrect_selection ; press_enter ;;
esac
done