From: Moritz Bunkus Date: Fri, 24 Apr 2015 12:44:00 +0000 (+0200) Subject: installation_check: -a/--all fixen X-Git-Tag: release-3.3.0beta~131 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d951ddcd0b690f250d5b0872ad76dc43f5f46ab4;p=kivitendo-erp.git installation_check: -a/--all fixen --- diff --git a/scripts/installation_check.pl b/scripts/installation_check.pl index 1b645733c..43b290a35 100755 --- a/scripts/installation_check.pl +++ b/scripts/installation_check.pl @@ -71,9 +71,7 @@ if (!defined $check{a} } if ($check{a}) { - foreach my $check (keys %check) { - $check{$check} = 1 unless defined $check{$check}; - } + $check{$_} //= 1 for qw(o d l r); }