summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index a8f86af4e..aac003eaa 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -721,8 +721,11 @@ sub configurePrinter {
if_($o->do_pkgs->is_installed('gimp'), 'gimpprint'));
};
if ($@ =~ /rpm not found/) {
- $o->cleanupPrinter;
- log::l($@);
+ log::l("ERROR: $@");
+ if ($o->{printer}) {
+ require printer::printerdrake;
+ printer::printerdrake::final_cleanup($o->{printer});
+ }
return;
}