From: Andreas K. Hüttel Date: Mon, 2 Oct 2017 21:44:16 +0000 (+0200) Subject: sys-libs/timezone-data: Do not call one phase function from other, bug 596642 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fcd7a5b0deeeae56a11f42c677a1460708f3ef80;p=gentoo.git sys-libs/timezone-data: Do not call one phase function from other, bug 596642 Closes: https://bugs.gentoo.org/596642 Package-Manager: Portage-2.3.10, Repoman-2.3.3 --- diff --git a/sys-libs/timezone-data/timezone-data-2017b.ebuild b/sys-libs/timezone-data/timezone-data-2017b.ebuild index 44391256e07a..5ecd0a12ca0e 100644 --- a/sys-libs/timezone-data/timezone-data-2017b.ebuild +++ b/sys-libs/timezone-data/timezone-data-2017b.ebuild @@ -115,7 +115,7 @@ pkg_preinst() { fi } -pkg_config() { +configure_tz_data() { # make sure the /etc/localtime file does not get stale #127899 local tz src="${EROOT}etc/timezone" etc_lt="${EROOT}etc/localtime" @@ -151,6 +151,10 @@ pkg_config() { cp -f "${EROOT}"/usr/share/zoneinfo/"${tz}" "${etc_lt}" } +pkg_config() { + configure_tz_data +} + pkg_postinst() { - pkg_config + configure_tz_data }