summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-05-29 11:33:53 +0100
committerJames Le Cuirot <chewi@gentoo.org>2022-05-29 11:33:53 +0100
commit02ac198d077b8797896b213398bffe06a5ca8a07 (patch)
tree871875a26db6a2a011be3f791843ed92636e3253 /media-tv
parentgnome-extra/pch-session: stabilize 42.0 for amd64, x86 (diff)
downloadgentoo-02ac198d077b8797896b213398bffe06a5ca8a07.tar.gz
gentoo-02ac198d077b8797896b213398bffe06a5ca8a07.tar.bz2
gentoo-02ac198d077b8797896b213398bffe06a5ca8a07.zip
media-tv/v4l-utils: Call udev_reload when udev is enabled
Closes: https://bugs.gentoo.org/848045 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/v4l-utils/v4l-utils-1.22.1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/media-tv/v4l-utils/v4l-utils-1.22.1.ebuild b/media-tv/v4l-utils/v4l-utils-1.22.1.ebuild
index b8517c0d787b..6566baa52d21 100644
--- a/media-tv/v4l-utils/v4l-utils-1.22.1.ebuild
+++ b/media-tv/v4l-utils/v4l-utils-1.22.1.ebuild
@@ -101,6 +101,7 @@ src_install() {
pkg_postinst() {
xdg_pkg_postinst
+ use udev && udev_reload
if [[ -n ${REPLACING_VERSIONS} ]] && ver_test 1.20.0 -ge ${REPLACING_VERSIONS%% *}; then
ewarn "WARNING! ir-keytable has changed significantly from version 1.20.0 so"
@@ -108,3 +109,8 @@ pkg_postinst() {
ewarn "https://bugs.gentoo.org/767175 for more details."
fi
}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ use udev && udev_reload
+}