summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2010-01-10 10:07:14 +0000
committerAnssi Hannula <anssi@mandriva.org>2010-01-10 10:07:14 +0000
commitd3f29653daa97cc05596d3840d3e4662ad4d45ed (patch)
treef2bfff63defe44eadc1d9e40b4bcad00abf1ea8c
parentc9061a8c72b249459488b6492bcd39f80e19c55f (diff)
downloaddrakx-kbd-mouse-x11-d3f29653daa97cc05596d3840d3e4662ad4d45ed.tar
drakx-kbd-mouse-x11-d3f29653daa97cc05596d3840d3e4662ad4d45ed.tar.gz
drakx-kbd-mouse-x11-d3f29653daa97cc05596d3840d3e4662ad4d45ed.tar.bz2
drakx-kbd-mouse-x11-d3f29653daa97cc05596d3840d3e4662ad4d45ed.tar.xz
drakx-kbd-mouse-x11-d3f29653daa97cc05596d3840d3e4662ad4d45ed.zip
- XFdrake:
o use -X option for ldconfig when switching alternatives, we only need the cache rebuilt
-rw-r--r--NEWS4
-rw-r--r--lib/Xconfig/card.pm4
2 files changed, 6 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 76736d8..0e453f7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- XFdrake:
+ o use -X option for ldconfig when switching alternatives, we only need the
+ cache rebuilt (Anssi Hannula)
+
Version 0.86 - 26 November 2009
- keyboarddrake:
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index a856780..db8d19e 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -375,8 +375,8 @@ sub libgl_config_and_more {
-e "$::prefix$wanted" or log::l("ERROR: $wanted does not exist, linking $link to it anyway");
common::symlinkf_update_alternatives('gl_conf', $wanted);
if ($need_run_ldconfig) {
- log::explanations("ldconfig will be run because the GL library was $wanted");
- run_program::rooted($::prefix, 'ldconfig');
+ log::explanations("ldconfig will be run because the GL library was switched to $wanted");
+ run_program::rooted($::prefix, 'ldconfig', '-X');
}
if (member($card->{Driver}, 'fglrx', 'nvidia')) {