summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2022-07-20 15:56:45 +0200
committerPacho Ramos <pacho@gentoo.org>2022-07-20 15:59:29 +0200
commit2183b771b325826d14589c8c3636588daa1cd31e (patch)
tree82a3a8ee3ae0853fce3bfbaa976947f416ac98a6 /app-misc
parentdev-libs/libwacom: Fix udev_reload call (diff)
downloadgentoo-2183b771b325826d14589c8c3636588daa1cd31e.tar.gz
gentoo-2183b771b325826d14589c8c3636588daa1cd31e.tar.bz2
gentoo-2183b771b325826d14589c8c3636588daa1cd31e.zip
app-misc/media-player-info: Fix udev reload calls
Closes: https://bugs.gentoo.org/854759 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/media-player-info/media-player-info-24.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/app-misc/media-player-info/media-player-info-24.ebuild b/app-misc/media-player-info/media-player-info-24.ebuild
index 577806483871..84a3ccab5555 100644
--- a/app-misc/media-player-info/media-player-info-24.ebuild
+++ b/app-misc/media-player-info/media-player-info-24.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..10} )
-inherit python-any-r1
+inherit python-any-r1 udev
DESCRIPTION="Repository of data files describing media player capabilities"
HOMEPAGE="https://gitlab.freedesktop.org/media-player-info/media-player-info"
@@ -34,5 +34,9 @@ pkg_postinst() {
if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then
return 0
fi
- udevadm control --reload
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
}