This commit is contained in:
godalming123 2022-02-27 11:05:22 +00:00 committed by GitHub
parent 764ed5e80a
commit bd31a5e64e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 5 deletions

View File

@ -298,15 +298,19 @@ grubInstall () {
# === select grub theme ===
grubTheme () {
clear
logo
grub_install
if ["$GRUB_INSTALL" == "yes"]; then
echo -ne "Select your grub theme:\n"
options=(cyberRE none)
select_option $? 4 "${options[@]}"
grub_theme=${options[$?]}
set_option GRUB_THEME $grub_theme
}
grubOptions () {
clear
logo
grubInstall
if ["$grub_install" == "yes"]; then
grubTheme
else
set_option GRUB_THEME none
fi
@ -352,7 +356,7 @@ installtype () {
# === setup basic options for server installation ===
userinfo
grubTheme
grubOptions
aurhelper
desktopenv