summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-13 23:38:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-13 23:38:31 +0000
commit940c3448ce23ab79a27f5f7aa3b4ade436004f71 (patch)
tree82af7641b7f7403aa73b1d3460d6ae62fbcaac0c /perl-install/install_steps_gtk.pm
parent2ffd991b4d6cf7f44a20d130d58225d50e1ae337 (diff)
downloaddrakx-backup-do-not-use-940c3448ce23ab79a27f5f7aa3b4ade436004f71.tar
drakx-backup-do-not-use-940c3448ce23ab79a27f5f7aa3b4ade436004f71.tar.gz
drakx-backup-do-not-use-940c3448ce23ab79a27f5f7aa3b4ade436004f71.tar.bz2
drakx-backup-do-not-use-940c3448ce23ab79a27f5f7aa3b4ade436004f71.tar.xz
drakx-backup-do-not-use-940c3448ce23ab79a27f5f7aa3b4ade436004f71.zip
no_comment
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index ed254b816..bafee482e 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -381,7 +381,10 @@ sub choosePackagesTree {
return $o->ask_warn('', _("You can't select this package as there is not enough space left to install it"));
}
- @l > @_ && !$auto_deps and $o->ask_okcancel('', [ _("The following packages are going to be installed/removed"), join(", ", sort @l) ], 1) || return;
+ @l > @_ && !$auto_deps and $o->ask_okcancel('', [ $isSelection ?
+ _("The following packages are going to be installed") :
+ _("The following packages are going to be removed"),
+ join(", ", sort @l) ], 1) || return;
$isSelection ? pkgs::selectPackage($packages, $_) : pkgs::unselectPackage($packages, $_) foreach @_;
foreach (@l) {
my $p = $packages->[0]{$_};