diff options
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 } |