mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
pakfire.cgi: Fix indentation
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de> Acked-by: Peter Müller <peter.muelle@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
cd521e78b8
commit
0f506a130c
@@ -214,8 +214,9 @@ END
|
||||
|
||||
# Process Pakfire commands
|
||||
if (($cgiparams{'ACTION'} eq 'install') && (! &_is_pakfire_busy())) {
|
||||
my @pkgs = split(/\|/, $cgiparams{'INSPAKS'});
|
||||
&Header::openbox("100%", "center", $Lang::tr{'request'});
|
||||
|
||||
my @pkgs = split(/\|/, $cgiparams{'INSPAKS'});
|
||||
my @output = &General::system_output("/usr/local/bin/pakfire", "resolvedeps", "--no-colors", @pkgs);
|
||||
print <<END;
|
||||
<table><tr><td colspan='2'>$Lang::tr{'pakfire install package'} @pkgs $Lang::tr{'pakfire possible dependency'}
|
||||
@@ -251,8 +252,9 @@ END
|
||||
exit;
|
||||
|
||||
} elsif (($cgiparams{'ACTION'} eq 'remove') && (! &_is_pakfire_busy())) {
|
||||
my @pkgs = split(/\|/, $cgiparams{'DELPAKS'});
|
||||
&Header::openbox("100%", "center", $Lang::tr{'request'});
|
||||
|
||||
my @pkgs = split(/\|/, $cgiparams{'DELPAKS'});
|
||||
my @output = &General::system_output("/usr/local/bin/pakfire", "resolvedeps", "--no-colors", @pkgs);
|
||||
print <<END;
|
||||
<table><tr><td colspan='2'>$Lang::tr{'pakfire uninstall package'} @pkgs $Lang::tr{'pakfire possible dependency'}
|
||||
@@ -286,7 +288,6 @@ END
|
||||
&Header::closebigbox();
|
||||
&Header::closepage();
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
my %selected=();
|
||||
|
||||
Reference in New Issue
Block a user