summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-10-05 17:46:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-10-05 17:46:14 +0000
commit10dcdd38750d3db050b69bf54dc1ffdb8715a320 (patch)
tree4fd4f60389a22ecf1072b6e3a4bbbfee613ba03a
parentd9691e1c3d8d33279d66ccaa0485a9b3979b4e52 (diff)
downloaddrakx-backup-do-not-use-10dcdd38750d3db050b69bf54dc1ffdb8715a320.tar
drakx-backup-do-not-use-10dcdd38750d3db050b69bf54dc1ffdb8715a320.tar.gz
drakx-backup-do-not-use-10dcdd38750d3db050b69bf54dc1ffdb8715a320.tar.bz2
drakx-backup-do-not-use-10dcdd38750d3db050b69bf54dc1ffdb8715a320.tar.xz
drakx-backup-do-not-use-10dcdd38750d3db050b69bf54dc1ffdb8715a320.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)
-rw-r--r--perl-install/Xconfig/card.pm2
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'));