Package branding-school-lite-bootloader: Scripts

Post install

1
2
3
4
5
6
ln -s -nf lite/message /boot/splash/message
. /etc/sysconfig/i18n
lang=$(echo $LANG | cut -d. -f 1)
cd boot/splash/lite/
echo $lang > lang
[ "$lang" = "C" ] || echo lang | cpio -o --append -F message
Pre install

[ -s /boot/splash/lite ] && rm -fr  /boot/splash/lite ||:
Pre uninstall

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