diff options
author | Mike Gilbert <floppym@gentoo.org> | 2022-10-13 14:22:15 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2022-10-13 14:22:15 -0400 |
commit | eacd3a0694988c34fa420f2160134860aec806c4 (patch) | |
tree | 0b8068d357cc667fbb1d7d789c6a431d5136c52e /sys-fs | |
parent | net-wireless/blueman: Bump to 2.3.3 (diff) | |
download | gentoo-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.ebuild | 2 | ||||
-rw-r--r-- | sys-fs/btrfs-progs/btrfs-progs-5.18.1-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-fs/btrfs-progs/btrfs-progs-5.19.1.ebuild | 2 | ||||
-rw-r--r-- | sys-fs/btrfs-progs/btrfs-progs-9999.ebuild | 2 |
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 } |