From a4778986fd82d1a5b336aca5bf8db9252ee52ef8 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 16 Jun 2022 13:38:03 +0200 Subject: sys-fs/bcache-tools: call udev_reload in pkg_postrm() Closes: https://bugs.gentoo.org/852164 Signed-off-by: Florian Schmaus --- 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(-) (limited to 'sys-fs') 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 +} -- cgit v1.2.3-65-gdbad