summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 9ccf690de..c7ce0e1bb 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -277,6 +277,12 @@ sub unselectPackage($$;$) {
my $state = $packages->{state} ||= {};
my @l = $packages->disable_selected($packages->{rpmdb}, $state, $pkg);
+ if ($o_otherOnly) {
+ foreach (@l) {
+ $o_otherOnly->{$_->id} = undef;
+ }
+ $packages->resolve_requested($packages->{rpmdb}, $state, $o_otherOnly, callback_choices => \&packageCallbackChoices);
+ }
1;
}
sub togglePackageSelection($$;$) {