From 0b060fcb268275e6b6f245b8232a903571cd36f5 Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Thu, 31 Jul 2003 14:31:43 +0000 Subject: new bootsplash v3 include various scripts and binaries from bootsplash.org --- scripts/switch-themes | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/switch-themes') diff --git a/scripts/switch-themes b/scripts/switch-themes index dea6997..3492e09 100755 --- a/scripts/switch-themes +++ b/scripts/switch-themes @@ -100,6 +100,10 @@ function switch_theme () { echo "THEME=$toswitch" >> $sysconfig fi rm -f $tmpfile + if [[ -d /etc/bootsplash/$toswitch ]]; then + rm -f /etc/bootsplash/current + ln -s /etc/bootsplash/$toswitch current + fi fi } -- cgit v1.2.1