commit: 991ac772d4fdcf62a35ba2aafb2d2db9564e566b Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun Jul 3 09:35:30 2022 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Jul 3 09:35:30 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=991ac772
app-crypt/libnitrokey: call udev_reload in pkg_postinst/pkg_postrm Closes: https://bugs.gentoo.org/854243 Signed-off-by: David Seifert <soap <AT> gentoo.org> app-crypt/libnitrokey/libnitrokey-3.6.ebuild | 10 +++++++++- app-crypt/libnitrokey/libnitrokey-9999.ebuild | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild index ecef8c9b5c2d..dd6d0126cf31 100644 --- a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -45,3 +45,11 @@ src_configure() { ) cmake_src_configure } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/app-crypt/libnitrokey/libnitrokey-9999.ebuild b/app-crypt/libnitrokey/libnitrokey-9999.ebuild index 8687d0d1b4e3..a9135e08d5d4 100644 --- a/app-crypt/libnitrokey/libnitrokey-9999.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -45,3 +45,11 @@ src_configure() { ) cmake_src_configure } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}