commit: fcd7a5b0deeeae56a11f42c677a1460708f3ef80 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Mon Oct 2 21:44:16 2017 +0000 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Mon Oct 2 21:44:16 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd7a5b0
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 sys-libs/timezone-data/timezone-data-2017b.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys-libs/timezone-data/timezone-data-2017b.ebuild b/sys-libs/timezone-data/timezone-data-2017b.ebuild index 44391256e07..5ecd0a12ca0 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 }