Merge pull request #20 from Jukoo/gruboot

Gruboot
This commit is contained in:
Vince 2019-06-09 08:00:28 +08:00 committed by GitHub
commit c8104a37e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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