summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-07-07 14:05:37 -0400
committerMike Gilbert <floppym@gentoo.org>2022-07-07 14:05:37 -0400
commitb855768179113ef4272e8b36624329e484c12ab8 (patch)
tree07488f657413b1f73259e730edcb7b89b7870973 /sys-fs/lvm2
parentsys-fs/lvm2: move src_test where it belongs (diff)
downloadgentoo-b855768179113ef4272e8b36624329e484c12ab8.tar.gz
gentoo-b855768179113ef4272e8b36624329e484c12ab8.tar.bz2
gentoo-b855768179113ef4272e8b36624329e484c12ab8.zip
sys-fs/lvm2: check REPLACED_BY_VERSION in pkg_postrm
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r--sys-fs/lvm2/lvm2-2.02.188-r3.ebuild2
-rw-r--r--sys-fs/lvm2/lvm2-2.03.14-r3.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-fs/lvm2/lvm2-2.02.188-r3.ebuild b/sys-fs/lvm2/lvm2-2.02.188-r3.ebuild
index 52c90888788b..e6fd683ff142 100644
--- a/sys-fs/lvm2/lvm2-2.02.188-r3.ebuild
+++ b/sys-fs/lvm2/lvm2-2.02.188-r3.ebuild
@@ -302,7 +302,7 @@ pkg_postinst() {
}
pkg_postrm() {
- if use udev && [[ -z ${REPLACING_VERSIONS} ]]; then
+ if use udev && [[ -z ${REPLACED_BY_VERSION} ]]; then
udev_reload
fi
}
diff --git a/sys-fs/lvm2/lvm2-2.03.14-r3.ebuild b/sys-fs/lvm2/lvm2-2.03.14-r3.ebuild
index 4c8280b0a195..6af624f3fbc9 100644
--- a/sys-fs/lvm2/lvm2-2.03.14-r3.ebuild
+++ b/sys-fs/lvm2/lvm2-2.03.14-r3.ebuild
@@ -304,7 +304,7 @@ pkg_postinst() {
}
pkg_postrm() {
- if use udev && [[ -z ${REPLACING_VERSIONS} ]]; then
+ if use udev && [[ -z ${REPLACED_BY_VERSION} ]]; then
udev_reload
fi
}