commit: c90684d75f5948ee872da4c1fa36d4b7b2c74d88
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 17 01:48:40 2025 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Feb 17 21:24:04 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c90684d7
sys-libs/timezone-data: drop obsolete pkg_preinst
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
sys-libs/timezone-data/timezone-data-2025a.ebuild | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/sys-libs/timezone-data/timezone-data-2025a.ebuild
b/sys-libs/timezone-data/timezone-data-2025a.ebuild
index 5f698fb9c37b..2a4457e2c0fe 100644
--- a/sys-libs/timezone-data/timezone-data-2025a.ebuild
+++ b/sys-libs/timezone-data/timezone-data-2025a.ebuild
@@ -118,20 +118,6 @@ get_TIMEZONE() {
[[ -z ${tz} ]] && return 1 || echo "${tz}"
}
-pkg_preinst() {
- local tz=$(get_TIMEZONE)
- if [[ ${tz} == right/* || ${tz} == posix/* ]] ; then
- eerror "The right & posix subdirs are no longer installed as
subdirs -- they have been"
- eerror "relocated to match upstream paths as sibling paths.
Further, posix/xxx is the"
- eerror "same as xxx, so you should simply drop the posix/
prefix. You also should not"
- eerror "be using right/xxx for the system timezone as it breaks
programs."
- die "Please fix your timezone setting"
- fi
-
- # Trim the symlink by hand to avoid portage's automatic protection
checks.
- rm -f "${EROOT}"/usr/share/zoneinfo/posix
-}
-
configure_tz_data() {
# Make sure the /etc/localtime file does not get stale, bug #127899
local tz src="${EROOT}/etc/timezone" etc_lt="${EROOT}/etc/localtime"