commit:     a4778986fd82d1a5b336aca5bf8db9252ee52ef8
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 11:38:03 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 11:40:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4778986

sys-fs/bcache-tools: call udev_reload in pkg_postrm()

Closes: https://bugs.gentoo.org/852164
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sys-fs/bcache-tools/bcache-tools-1.1-r1.ebuild | 4 ++++
 sys-fs/bcache-tools/bcache-tools-9999.ebuild   | 6 +++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/sys-fs/bcache-tools/bcache-tools-1.1-r1.ebuild 
b/sys-fs/bcache-tools/bcache-tools-1.1-r1.ebuild
index f2e436d2fa27..9e6dc7c64771 100644
--- a/sys-fs/bcache-tools/bcache-tools-1.1-r1.ebuild
+++ b/sys-fs/bcache-tools/bcache-tools-1.1-r1.ebuild
@@ -69,3 +69,7 @@ src_install() {
 pkg_postinst() {
        udev_reload
 }
+
+pkg_postrm() {
+       udev_reload
+}

diff --git a/sys-fs/bcache-tools/bcache-tools-9999.ebuild 
b/sys-fs/bcache-tools/bcache-tools-9999.ebuild
index 31a8bc178342..1afc686aacaf 100644
--- a/sys-fs/bcache-tools/bcache-tools-9999.ebuild
+++ b/sys-fs/bcache-tools/bcache-tools-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=8
@@ -67,3 +67,7 @@ src_install() {
 pkg_postinst() {
        udev_reload
 }
+
+pkg_postrm() {
+       udev_reload
+}

Reply via email to