summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Einar Reitan <john.einar@gmail.com>2022-07-11 17:03:36 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-11 17:03:36 +0200
commite293515b7bfa3f4d94c1a1587a3fde82f23f9377 (patch)
tree708cb11b0d3dede97a35d262909f1de439a1b5f9 /sys-power
parentprofiles: last-rite dev-libs/ucommon (diff)
downloadgentoo-e293515b7bfa3f4d94c1a1587a3fde82f23f9377.tar.gz
gentoo-e293515b7bfa3f4d94c1a1587a3fde82f23f9377.tar.bz2
gentoo-e293515b7bfa3f4d94c1a1587a3fde82f23f9377.zip
sys-power/apcupsd: Call udev_reload in pkg_postrm
Closes: https://github.com/gentoo/gentoo/pull/25929 Closes: https://bugs.gentoo.org/852641 Signed-off-by: John Einar Reitan <john.einar@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild b/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild
index 7e9251a07001..39033efdfbe7 100644
--- a/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild
+++ b/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild
@@ -149,3 +149,7 @@ pkg_postinst() {
elog "in /dev/apcups/by-id directory."
fi
}
+
+pkg_postrm() {
+ use kernel_linux && udev_reload
+}