summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/card.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfig/card.pm')
-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'));