A few tweaks and updates to allow for packages to be excluded
This commit is contained in:
parent
b154e4a448
commit
b7f394a0e8
3 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue