From ed4b2fe0919043cd094e79a59ecf63649399899e Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Mon, 25 Mar 2019 10:03:31 +0100 Subject: #802 #888 Fix ogBootLoaderSetTheme: refind can start ogLive. --- client/engine/Boot.lib | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client/engine/Boot.lib') 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 } -- cgit v1.2.3-18-g5258