summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-08-22 11:09:49 -0500
committerWilliam Hubbs <williamh@gentoo.org>2023-08-22 11:09:49 -0500
commit8f7e0b6ef89d51d7b8b06866d4343765d0bc9f91 (patch)
tree2d75144b536f206d7ce4eb75d8f59da65a7c2d8d /sys-apps/baselayout
parentsys-kernel/gentoo-sources: stabilize 6.1.46 for x86 (diff)
downloadgentoo-8f7e0b6ef89d51d7b8b06866d4343765d0bc9f91.tar.gz
gentoo-8f7e0b6ef89d51d7b8b06866d4343765d0bc9f91.tar.bz2
gentoo-8f7e0b6ef89d51d7b8b06866d4343765d0bc9f91.zip
sys-apps/baselayout: remove 2.4 and 2.6 migration code
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r--sys-apps/baselayout/baselayout-2.14.ebuild17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys-apps/baselayout/baselayout-2.14.ebuild b/sys-apps/baselayout/baselayout-2.14.ebuild
index 8cc92f9d92cc..98121cf026dd 100644
--- a/sys-apps/baselayout/baselayout-2.14.ebuild
+++ b/sys-apps/baselayout/baselayout-2.14.ebuild
@@ -343,23 +343,6 @@ pkg_postinst() {
ewarn "You should reboot now to get /run mounted with tmpfs!"
fi
- for x in ${REPLACING_VERSIONS}; do
- if ver_test 2.4 -lt ${x}; then
- ewarn "After updating ${EROOT}/etc/profile, please run"
- ewarn "env-update && . /etc/profile"
- fi
-
- if ver_test 2.6 -lt ${x}; then
- ewarn "Please run env-update then log out and back in to"
- ewarn "update your path."
- fi
- # clean up after 2.5 typos
- # https://bugs.gentoo.org/show_bug.cgi?id=656380
- if [[ ${x} == 2.5 ]]; then
- rm -fr "${EROOT}/{,usr" || die
- fi
- done
-
if [[ -e "${EROOT}"/etc/env.d/00basic ]]; then
ewarn "${EROOT}/etc/env.d/00basic is now ${EROOT}/etc/env.d/50baselayout"
ewarn "Please migrate your changes."