diff options
-rwxr-xr-x | scripts/switch-themes | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/switch-themes b/scripts/switch-themes index 9f8b6c3..91b9fe2 100755 --- a/scripts/switch-themes +++ b/scripts/switch-themes @@ -60,9 +60,7 @@ function update () { /usr/sbin/plymouth-set-default-theme $theme fi - [ -f /usr/lib/libDrakX/Xconfig/resolution_and_depth.pm ] && perl -I/usr/lib/libDrakX -MXconfig::xfree -MXconfig::resolution_and_depth -e 'Xconfig::resolution_and_depth::set_default_background(Xconfig::xfree->read->get_resolution)' - - + [ -x /usr/sbin/drakx-update-background ] && /usr/sbin/drakx-update-background } function switch_theme () { |