summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-10-13 14:22:15 -0400
committerMike Gilbert <floppym@gentoo.org>2022-10-13 14:22:15 -0400
commiteacd3a0694988c34fa420f2160134860aec806c4 (patch)
tree0b8068d357cc667fbb1d7d789c6a431d5136c52e /sys-fs
parentnet-wireless/blueman: Bump to 2.3.3 (diff)
downloadgentoo-eacd3a0694988c34fa420f2160134860aec806c4.tar.gz
gentoo-eacd3a0694988c34fa420f2160134860aec806c4.tar.bz2
gentoo-eacd3a0694988c34fa420f2160134860aec806c4.zip
sys-fs/btrfs-progs: simplify udev_reload logic
If the set of installed udev rules files changes, it is better to call udev_reload in pkg_postrm unconditionally. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-5.15.1.ebuild2
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-5.18.1-r1.ebuild2
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-5.19.1.ebuild2
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-9999.ebuild2
4 files changed, 4 insertions, 4 deletions
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 a15d9125d0e5..0920217e744f 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-5.15.1.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-5.15.1.ebuild
@@ -131,5 +131,5 @@ src_install() {
}
pkg_postrm() {
- [[ -n ${REPLACED_BY_VERSION} ]] || udev_reload
+ 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 0ba3477e685f..d9cb1c5f94db 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
@@ -148,5 +148,5 @@ pkg_postinst() {
}
pkg_postrm() {
- [[ -n ${REPLACED_BY_VERSION} ]] || udev_reload
+ udev_reload
}
diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.19.1.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.19.1.ebuild
index 6390e1a15a34..bf8cc19f185c 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-5.19.1.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-5.19.1.ebuild
@@ -146,5 +146,5 @@ pkg_postinst() {
}
pkg_postrm() {
- [[ -n ${REPLACED_BY_VERSION} ]] || udev_reload
+ udev_reload
}
diff --git a/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild b/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
index 6390e1a15a34..bf8cc19f185c 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
@@ -146,5 +146,5 @@ pkg_postinst() {
}
pkg_postrm() {
- [[ -n ${REPLACED_BY_VERSION} ]] || udev_reload
+ udev_reload
}