commit:     96a3e1d6f578b6e505ae664d28499caecf1cc6fc
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  7 08:51:25 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Sep  7 09:08:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a3e1d6

sys-apps/fwupd: explicitly call xdg_pkg_post{inst,rm}

fwupd installs icons so we need to update the icon cache. This used to
be done implicitly via inherit xdg, however when floppym added custom
implementations of pkg_post{inst,rm} in commit
c36a53996de7797e831150967c66536fdbea67d1 to handle udev rules
xdg.eclass defaults stopped being called.

Closes: https://bugs.gentoo.org/869032
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 sys-apps/fwupd/fwupd-1.8.3.ebuild | 2 ++
 sys-apps/fwupd/fwupd-1.8.4.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sys-apps/fwupd/fwupd-1.8.3.ebuild 
b/sys-apps/fwupd/fwupd-1.8.3.ebuild
index 6dd2394f80cf..27984e59c834 100644
--- a/sys-apps/fwupd/fwupd-1.8.3.ebuild
+++ b/sys-apps/fwupd/fwupd-1.8.3.ebuild
@@ -198,9 +198,11 @@ src_install() {
 }
 
 pkg_postinst() {
+       xdg_pkg_postinst
        use minimal || udev_reload
 }
 
 pkg_postrm() {
+       xdg_pkg_postrm
        use minimal || udev_reload
 }

diff --git a/sys-apps/fwupd/fwupd-1.8.4.ebuild 
b/sys-apps/fwupd/fwupd-1.8.4.ebuild
index 4d97b8c02eb5..df9202e9d65c 100644
--- a/sys-apps/fwupd/fwupd-1.8.4.ebuild
+++ b/sys-apps/fwupd/fwupd-1.8.4.ebuild
@@ -195,9 +195,11 @@ src_install() {
 }
 
 pkg_postinst() {
+       xdg_pkg_postinst
        use minimal || udev_reload
 }
 
 pkg_postrm() {
+       xdg_pkg_postrm
        use minimal || udev_reload
 }

Reply via email to