summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/printerdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index 5cead41cb..602919ac7 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -904,7 +904,7 @@ configure it on the machine where it is connected to."));
if ($drivertype eq 'Z23') {$drivertype = 'Z33';}
$drivertype = lc($drivertype);
if (!printer::files_exist("/usr/local/lexmark/$drivertype/$drivertype")) {
- $in->do_pkgs->install("lexmark-drivers-$drivertype");
+ eval { $in->do_pkgs->install("lexmark-drivers-$drivertype") };
}
if (!printer::files_exist("/usr/local/lexmark/$drivertype/$drivertype")) {
# Driver installation failed, probably we do not have