summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/pkgs.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 046b44b09..0947d14e5 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -748,8 +748,11 @@ sub _install_raw {
install::pkgs::setup_rpm_summary_translations();
}
- $check_installed or log::l($pkg->name . " not installed, " . URPM::rpmErrorString());
- $check_installed and _unselect_package($packages, $pkg);
+ if ($check_installed) {
+ _unselect_package($packages, $pkg);
+ } else {
+ log::l($pkg->name . " not installed, " . URPM::rpmErrorString());
+ }
}, inst => $callback,
trans => $callback,
# FIXME: implement already_installed_or_not_installable