summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r--perl-install/install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 6ad227e20..23bd12df3 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -372,9 +372,9 @@ sub setPackages {
sub remove_package_for_upgrade {
my ($o) = @_;
- my $extension;
+ my $extension = $o->{upgrade_by_removing_pkgs_matching};
- return if !$extension = $o->{upgrade_by_removing_pkgs_matching};
+ return if !$extension;
my $time = time();
my ($_w, $wait_message) = $o->wait_message_with_progress_bar;