diff options
Diffstat (limited to 'client')
-rwxr-xr-x | client/engine/Boot.lib | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib index 7f17fabf..280d4351 100755 --- a/client/engine/Boot.lib +++ b/client/engine/Boot.lib @@ -2137,6 +2137,8 @@ if [ -d $OGLIB/$BOOTLOADER/themes/$NEWTHEME ]; then NEWTHEMECFG="$OGLIB/$BOOTLOADER/themes/$NEWTHEME/theme.conf" [ -f $NEWTHEMECFG ] || ogRaiserError $OG_ERR_NOTFOUND "theme.conf" || return $? grep -v "^#" $NEWTHEMECFG >> $CFGFILE + # eliminamos "set theme" es de grub y no de refind + sed -i '/theme_name/d' $CFGFILE fi cp -pr $OGLIB/$BOOTLOADER/themes/$NEWTHEME $PART/$BOOTLOADERDIR/themes/ fi @@ -2147,7 +2149,7 @@ if ! [ -d $PART/$BOOTLOADERDIR/themes/$NEWTHEME ]; then fi #Cambiamos la entrada el fichero de configuraciĆ³n. -sed --regexp-extended -i s/"$THEME"/"$NEWTHEME"/g $CFGFILE +sed --regexp-extended -i s/"set theme_name=$THEME"/"set theme_name=$NEWTHEME"/g $CFGFILE } |