aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2013-05-07 23:29:17 +0000
committerOlivier Blin <blino@mageia.org>2013-05-07 23:29:17 +0000
commite5373f8fd04dd356f631afa09ce48a6957fb84ae (patch)
tree346fb6387657f924ba0d682a0e1abcab54745937
parent5639f42f177774e2be4b38aca87cc49c9c306ea2 (diff)
downloadbootsplash-e5373f8fd04dd356f631afa09ce48a6957fb84ae.tar
bootsplash-e5373f8fd04dd356f631afa09ce48a6957fb84ae.tar.gz
bootsplash-e5373f8fd04dd356f631afa09ce48a6957fb84ae.tar.bz2
bootsplash-e5373f8fd04dd356f631afa09ce48a6957fb84ae.tar.xz
bootsplash-e5373f8fd04dd356f631afa09ce48a6957fb84ae.zip
use drakx-update-background instead of broken perl one-liner (fails when resolution is not set in Xorg.conf)
-rwxr-xr-xscripts/switch-themes4
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 () {