Package branding-alt-sisyphus-bootloader: Scripts

Post install

ln -snf sisyphus/message /boot/splash/message
. /etc/sysconfig/i18n
lang=$(echo $LANG | cut -d. -f 1)
cd boot/splash/sisyphus/
echo $lang > lang
[ "$lang" = "C" ] || echo lang | cpio -o --append -F message
. shell-config
shell_config_set /etc/sysconfig/grub2 GRUB_THEME /boot/grub/themes/sisyphus/theme.txt
shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_NORMAL white/black
shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT black/white
shell_config_set /etc/sysconfig/grub2 GRUB_BACKGROUND ''
# deprecated
shell_config_set /etc/sysconfig/grub2 GRUB_WALLPAPER ''
Pre install

[ -s /usr/share/gfxboot/sisyphus ] && rm -fr /usr/share/gfxboot/sisyphus ||:
[ -s /boot/splash/sisyphus ] && rm -fr /boot/splash/sisyphus ||:
Pre uninstall

1
2
3
[ $1 = 0 ] || exit 0
[ "`readlink /boot/splash/message`" != "sisyphus/message" ] ||
    rm -f /boot/splash/message