commit: 2183b771b325826d14589c8c3636588daa1cd31e Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Wed Jul 20 13:56:45 2022 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Wed Jul 20 13:59:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2183b771
app-misc/media-player-info: Fix udev reload calls Closes: https://bugs.gentoo.org/854759 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> app-misc/media-player-info/media-player-info-24.ebuild | 10 +++++++--- 1 file 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 }
