diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-10-05 17:43:40 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-10-05 17:43:40 +0000 |
commit | e95828c87cb27490beebf358500b4ac7eb0e5c6c (patch) | |
tree | 9294fc22bfa8019229785ad9d64c36688fb18f18 /perl-install/Xconfig | |
parent | 837e99171e20798228ce71d01cfe5bea971a222c (diff) | |
download | drakx-e95828c87cb27490beebf358500b4ac7eb0e5c6c.tar drakx-e95828c87cb27490beebf358500b4ac7eb0e5c6c.tar.gz drakx-e95828c87cb27490beebf358500b4ac7eb0e5c6c.tar.bz2 drakx-e95828c87cb27490beebf358500b4ac7eb0e5c6c.tar.xz drakx-e95828c87cb27490beebf358500b4ac7eb0e5c6c.zip |
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)
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r-- | perl-install/Xconfig/card.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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')); |