summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_gtk.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 18abb6251..6fb6f87a2 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -311,7 +311,8 @@ sub choosePackagesTree {
my ($o, $packages) = @_;
$o->set_help('choosePackagesTree');
- my ($curr, $parent, $info_widget, $w_size, $go, $idle, $flat, $auto_deps);
+ my ($curr, $parent, $info_widget, $w_size, $go, $idle, $flat);
+ my $auto_deps = 1;
my (%wtree, %ptree);
my $w = my_gtk->new('');
@@ -456,7 +457,7 @@ 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('', [ $isSelection ?
+ @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(", ", common::truncate_list(20, sort @l)) ], 1) || return;