From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Roevens To: development@lists.ipfire.org Subject: [PATCH 1/3] services.cgi: minor cosmetics Date: Mon, 03 Oct 2022 17:39:03 +0200 Message-ID: <20221003153905.14824-2-robin.roevens@disroot.org> In-Reply-To: <20221003153905.14824-1-robin.roevens@disroot.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6695234229850961807==" List-Id: --===============6695234229850961807== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit * Singular 'Service' instead of plural 'Services' as column header of services table * Sort list of services Signed-off-by: Robin Roevens --- html/cgi-bin/services.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/services.cgi b/html/cgi-bin/services.cgi index e91da884b..d480088a8 100644 --- a/html/cgi-bin/services.cgi +++ b/html/cgi-bin/services.cgi @@ -105,7 +105,7 @@ if ( $querry[0] =~ "processescpu"){
- + @@ -167,7 +167,7 @@ END # Generate list of installed addon pak services my %paklist = &Pakfire::dblist("installed"); - foreach my $pak (keys %paklist) { + foreach my $pak (sort keys %paklist) { my %metadata = &Pakfire::getmetadata($pak, "installed"); my $service; -- 2.37.3 -- Dit bericht is gescanned op virussen en andere gevaarlijke inhoud door MailScanner en lijkt schoon te zijn. --===============6695234229850961807==--
$Lang::tr{'services'}$Lang::tr{'service'} $Lang::tr{'status'} PID $Lang::tr{'memory'}