|
|
|
@ -197,13 +197,12 @@ if [[ $# -lt 1 ]] && [[ $UID -ne $ROOT_UID ]]; then
|
|
|
|
# persisted execution of the script as root
|
|
|
|
# persisted execution of the script as root
|
|
|
|
read -p "[ trusted ] specify the root password : " -t${MAX_DELAY} -s
|
|
|
|
read -p "[ trusted ] specify the root password : " -t${MAX_DELAY} -s
|
|
|
|
[[ -n "$REPLY" ]]&& {
|
|
|
|
[[ -n "$REPLY" ]]&& {
|
|
|
|
sudo -S <<< $REPLY $0
|
|
|
|
exec sudo -S <<< $REPLY $0
|
|
|
|
}|| {
|
|
|
|
}|| {
|
|
|
|
prompt "\n Operation canceled Bye"
|
|
|
|
prompt "\n Operation canceled Bye"
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
run_dialog
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
while [[ $# -ge 1 ]]; do
|
|
|
|
while [[ $# -ge 1 ]]; do
|
|
|
|
@ -234,5 +233,6 @@ while [[ $# -ge 1 ]]; do
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
install_dialog && install
|
|
|
|
install_dialog && install
|
|
|
|
|
|
|
|
test $? -eq 0 && prompt -w "* At the next restart of your computer you can admire your new Grub theme named << ${theme} >>"
|
|
|
|
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
exit 0
|
|
|
|
|