From d3f29653daa97cc05596d3840d3e4662ad4d45ed Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Sun, 10 Jan 2010 10:07:14 +0000 Subject: - XFdrake: o use -X option for ldconfig when switching alternatives, we only need the cache rebuilt --- lib/Xconfig/card.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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')) { -- cgit v1.2.1