mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2024-12-24 19:35:35 +01:00
Update install.sh
This commit is contained in:
parent
0628270f03
commit
c47af2ef5d
@ -128,8 +128,6 @@ install() {
|
||||
|
||||
# Check for root access and proceed if it is present
|
||||
if [[ "$UID" -eq "$ROOT_UID" ]]; then
|
||||
echo -e '\0033\0143'
|
||||
|
||||
# Generate the theme in "/usr/share/grub/themes"
|
||||
generate "${theme}" "${icon}" "${screen}"
|
||||
|
||||
@ -280,7 +278,6 @@ run_dialog() {
|
||||
else
|
||||
#block for 3 seconds before allowing another attempt
|
||||
sleep 3
|
||||
echo -e '\0033\0143'
|
||||
prompt -e "\n [ Error! ] -> Incorrect password!\n"
|
||||
exit 1
|
||||
fi
|
||||
@ -332,7 +329,6 @@ run_dialog() {
|
||||
}
|
||||
|
||||
operation_canceled() {
|
||||
echo -e '\0033\0143'
|
||||
prompt -i "\n Operation canceled by user, Bye!"
|
||||
exit 1
|
||||
}
|
||||
@ -451,7 +447,6 @@ remove() {
|
||||
else
|
||||
#block for 3 seconds before allowing another attempt
|
||||
sleep 3
|
||||
echo -e '\0033\0143'
|
||||
prompt -e "\n [ Error! ] -> Incorrect password!\n"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user