]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
pakfire: Replace getmetadata duplicate code
authorRobin Roevens <robin.roevens@disroot.org>
Thu, 28 Jul 2022 11:21:36 +0000 (13:21 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Thu, 28 Jul 2022 13:44:29 +0000 (13:44 +0000)
commit5cc18f9c12bc4aaec6075af1a20c5f8ef0347bf4
tree8bf5cc3599d9c2e166dfcd78989f787b0e17ebd7
parent2be67e384101f152b37b4bfc6dc1927414021d66
pakfire: Replace getmetadata duplicate code

- Use getmetadata function in services.cgi to determine installed
  addon services to display. Removing code duplication and intel that
  should only be known by pakfire itself.
- Removed hardcoded exclusions:
  - squid should show up correctly using the new metadata info
  - mdadm is part of core and will never show up here
  - alsa, unknown if this problem still exists, but if it is, this
    should be handled somewhere else.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
html/cgi-bin/services.cgi