summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-06-15 11:38:52 -0400
committerMike Gilbert <floppym@gentoo.org>2022-06-15 11:38:52 -0400
commite322659da454d590a13f81e973e096caf3787760 (patch)
tree2f5e08cbc1a4143811988c9ff92c8995c0b5bc3b /sys-fs/btrfs-progs
parentdev-python/Babel: finish off pytz fix (diff)
downloadgentoo-e322659da454d590a13f81e973e096caf3787760.tar.gz
gentoo-e322659da454d590a13f81e973e096caf3787760.tar.bz2
gentoo-e322659da454d590a13f81e973e096caf3787760.zip
sys-fs/btrfs-progs: call udev_reload in pkg_postrm
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-fs/btrfs-progs')
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-5.10.1-r1.ebuild6
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-5.15.1.ebuild6
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-5.16.2.ebuild4
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-5.16.ebuild4
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-5.17.ebuild4
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-5.18.1-r1.ebuild4
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-5.18.ebuild4
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-9999.ebuild4
8 files changed, 34 insertions, 2 deletions
diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.10.1-r1.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.10.1-r1.ebuild
index ec36b2152a52..01164d323b79 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-5.10.1-r1.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-5.10.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2008-2021 Gentoo Authors
+# Copyright 2008-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -125,3 +125,7 @@ src_install() {
# install prebuilt subset of manuals
use doc || doman Documentation/*.[58]
}
+
+pkg_postrm() {
+ [[ -n ${REPLACING_VERSIONS} ]] || udev_reload
+}
diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.15.1.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.15.1.ebuild
index 64cc91680915..8132f35bc6ac 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-5.15.1.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-5.15.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2008-2021 Gentoo Authors
+# Copyright 2008-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -126,3 +126,7 @@ src_install() {
# install prebuilt subset of manuals
use doc || doman Documentation/*.[58]
}
+
+pkg_postrm() {
+ [[ -n ${REPLACING_VERSIONS} ]] || udev_reload
+}
diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.16.2.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.16.2.ebuild
index b9b56b46d14f..5c1aabd39fb4 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-5.16.2.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-5.16.2.ebuild
@@ -131,3 +131,7 @@ src_install() {
# install prebuilt subset of manuals
use doc || doman Documentation/*.[58]
}
+
+pkg_postrm() {
+ [[ -n ${REPLACING_VERSIONS} ]] || udev_reload
+}
diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.16.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.16.ebuild
index 015b81367170..81d242c828ef 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-5.16.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-5.16.ebuild
@@ -134,3 +134,7 @@ src_install() {
# install prebuilt subset of manuals
use doc || doman Documentation/*.[58]
}
+
+pkg_postrm() {
+ [[ -n ${REPLACING_VERSIONS} ]] || udev_reload
+}
diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.17.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.17.ebuild
index 70f276f2ea37..a8119d0182c4 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-5.17.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-5.17.ebuild
@@ -142,3 +142,7 @@ src_install() {
pkg_postinst() {
udev_reload
}
+
+pkg_postrm() {
+ [[ -n ${REPLACING_VERSIONS} ]] || udev_reload
+}
diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.18.1-r1.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.18.1-r1.ebuild
index c408216229ce..cc8ae19c469e 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-5.18.1-r1.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-5.18.1-r1.ebuild
@@ -143,3 +143,7 @@ src_install() {
pkg_postinst() {
udev_reload
}
+
+pkg_postrm() {
+ [[ -n ${REPLACING_VERSIONS} ]] || udev_reload
+}
diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.18.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.18.ebuild
index 011480b36dea..b6d87b7e0f05 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-5.18.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-5.18.ebuild
@@ -146,3 +146,7 @@ src_install() {
pkg_postinst() {
udev_reload
}
+
+pkg_postrm() {
+ [[ -n ${REPLACING_VERSIONS} ]] || udev_reload
+}
diff --git a/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild b/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
index c408216229ce..cc8ae19c469e 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
@@ -143,3 +143,7 @@ src_install() {
pkg_postinst() {
udev_reload
}
+
+pkg_postrm() {
+ [[ -n ${REPLACING_VERSIONS} ]] || udev_reload
+}