summaryrefslogtreecommitdiffstats
path: root/perl-install/do_pkgs.pm
diff options
context:
space:
mode:
authorJosé Jorge <zezinho@mageia.org>2013-06-12 16:17:07 +0000
committerJosé Jorge <zezinho@mageia.org>2013-06-12 16:17:07 +0000
commita2e09fd1daab35711aa3e9c5baeb28d60a20e170 (patch)
tree0d4eed895d5dfd67cc669d6f293cf8489309913f /perl-install/do_pkgs.pm
parente0440583c183a14cf1fd833100e9f93b1207be1f (diff)
downloaddrakx-a2e09fd1daab35711aa3e9c5baeb28d60a20e170.tar
drakx-a2e09fd1daab35711aa3e9c5baeb28d60a20e170.tar.gz
drakx-a2e09fd1daab35711aa3e9c5baeb28d60a20e170.tar.bz2
drakx-a2e09fd1daab35711aa3e9c5baeb28d60a20e170.tar.xz
drakx-a2e09fd1daab35711aa3e9c5baeb28d60a20e170.zip
- fix drakfirewall not applying config #9941
Diffstat (limited to 'perl-install/do_pkgs.pm')
-rw-r--r--perl-install/do_pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm
index a15642d82..cfc244711 100644
--- a/perl-install/do_pkgs.pm
+++ b/perl-install/do_pkgs.pm
@@ -73,7 +73,7 @@ sub ensure_files_are_installed {
my ($do, $pkgs, $b_auto) = @_;
my @not_installed = map { my ($package, $file) = @$_; if_(!whereis_binary($file, $::prefix), $package) } @$pkgs;
- return if !@not_installed;
+ return 1 if !@not_installed;
$do->in->ask_okcancel(N("Warning"), N("The following packages need to be installed:\n") . join(', ', @not_installed), 1)
or return if !$b_auto && $do->in;