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/btrfs-progs/btrfs-progs-9999.ebuild | |
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/btrfs-progs/btrfs-progs-9999.ebuild')
-rw-r--r-- | sys-fs/btrfs-progs/btrfs-progs-9999.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |