From e95828c87cb27490beebf358500b4ac7eb0e5c6c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 5 Oct 2005 17:43:40 +0000 Subject: don't modify /etc/ld.so.conf.d/{nvidia,ati}.conf if file does not exist (otherwise at package install time, one gets a .rpmnew) --- perl-install/Xconfig/card.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/Xconfig') diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm index 4edb0d69a..92ef1b89d 100644 --- a/perl-install/Xconfig/card.pm +++ b/perl-install/Xconfig/card.pm @@ -478,7 +478,7 @@ sub libgl_config { $_ = "$comment$s\n"; $need_to_run_ldconfig ||= !$commented; } - } "$dir/$file"; + } "$dir/$file" if -e "$dir/$file"; } if ($::isStandalone && $need_to_run_ldconfig) { log::explanations("ldconfig will be run because the GL library was " . ($wanted ? 'enabled' : 'disabled')); -- cgit v1.2.1