summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-09-17 11:42:27 +0000
committerFrancois Pons <fpons@mandriva.com>2001-09-17 11:42:27 +0000
commit077e33b9b3c945ec202740663d6462d50eff354e (patch)
tree56299b27f9ac6f99bbcf9a4f53a84ea36cfc29c9 /perl-install/printerdrake.pm
parentd64a16814b4009c0715715f18c8748cd82197497 (diff)
downloaddrakx-backup-do-not-use-077e33b9b3c945ec202740663d6462d50eff354e.tar
drakx-backup-do-not-use-077e33b9b3c945ec202740663d6462d50eff354e.tar.gz
drakx-backup-do-not-use-077e33b9b3c945ec202740663d6462d50eff354e.tar.bz2
drakx-backup-do-not-use-077e33b9b3c945ec202740663d6462d50eff354e.tar.xz
drakx-backup-do-not-use-077e33b9b3c945ec202740663d6462d50eff354e.zip
add eval around installing lexmark-driver (proprietary).
Diffstat (limited to 'perl-install/printerdrake.pm')
-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