diff options
author | Florent Villard <warly@mandriva.com> | 2003-07-31 14:31:43 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2003-07-31 14:31:43 +0000 |
commit | 0b060fcb268275e6b6f245b8232a903571cd36f5 (patch) | |
tree | 1a2e3192215a6a238347454c6396c05a8a6444fa /scripts/switch-themes | |
parent | a6c7e5d4b1745c9b724b24c67d865263da37bac3 (diff) | |
download | bootsplash-0b060fcb268275e6b6f245b8232a903571cd36f5.tar bootsplash-0b060fcb268275e6b6f245b8232a903571cd36f5.tar.gz bootsplash-0b060fcb268275e6b6f245b8232a903571cd36f5.tar.bz2 bootsplash-0b060fcb268275e6b6f245b8232a903571cd36f5.tar.xz bootsplash-0b060fcb268275e6b6f245b8232a903571cd36f5.zip |
new bootsplash v3V2_0_0_1mdk
include various scripts and binaries from bootsplash.org
Diffstat (limited to 'scripts/switch-themes')
-rwxr-xr-x | scripts/switch-themes | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |