]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - html/cgi-bin/services.cgi
Fix for bug 12539
authorAdolf Belka <ahb.ipfire@gmail.com>
Mon, 7 Dec 2020 14:01:36 +0000 (15:01 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 10 Dec 2020 12:59:42 +0000 (12:59 +0000)
commitd978558809285afcee56b2120b10d9107b1b260b
tree33715b4ccf157b97094748c164a7e48abd01884c
parent50752f1b61997b60e7850d41d5c633a688ab1353
Fix for bug 12539

The installer recognises cups and cups-filters both as cups and puts
two instances of cups in the add-on services table.
Based on input from Michael Tremer this patch replaces the command
returning the second element between hyphens with one that takes
what comes after "meta-" using Perl code rather than a shell command.
The second find command was changed as per Michael's suggestion.

Tested in my ipfire test bed system and only results in one cups
entry.
Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/services.cgi