diff options
-rwxr-xr-x | perl-install/standalone/drakgw | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw index 3a9a4f98f..0e11c0afb 100755 --- a/perl-install/standalone/drakgw +++ b/perl-install/standalone/drakgw @@ -378,7 +378,7 @@ my %rpm2file = ('dhcp-server' => '/usr/sbin/dhcpd', my @needed_to_install = grep { !-e $rpm2file{$_} } keys %rpm2file; @needed_to_install and $in->do_pkgs->install(@needed_to_install); #- second: try one by one if failure detected -if (any { !-e $rpm2file{$_} } keys %rpm2file) { +if (!$::testing && any { !-e $rpm2file{$_} } keys %rpm2file) { foreach (keys %rpm2file) { -e $rpm2file{$_} or $in->do_pkgs->install($_); -e $rpm2file{$_} or fatal_quit(N("Problems installing package %s", $_)); |