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.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 9c4afeedd..f79690b81 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -293,10 +293,6 @@ sub unselectPackage($$;$) {
}
1;
}
-sub togglePackageSelection($$;$) {
- my ($packages, $pkg, $o_otherOnly) = @_;
- $pkg->flag_selected ? unselectPackage($packages, $pkg, $o_otherOnly) : selectPackage($packages, $pkg, 0, $o_otherOnly);
-}
sub setPackageSelection($$$) {
my ($packages, $pkg, $value) = @_;
$value ? selectPackage($packages, $pkg) : unselectPackage($packages, $pkg);