summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-10-02 23:44:16 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-10-02 23:44:16 +0200
commitfcd7a5b0deeeae56a11f42c677a1460708f3ef80 (patch)
tree1057998fa7b4d58791f984fb99603712c40022d1 /sys-libs/timezone-data
parentsys-libs/timezone-data: Remove old (diff)
downloadgentoo-fcd7a5b0deeeae56a11f42c677a1460708f3ef80.tar.gz
gentoo-fcd7a5b0deeeae56a11f42c677a1460708f3ef80.tar.bz2
gentoo-fcd7a5b0deeeae56a11f42c677a1460708f3ef80.zip
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
Diffstat (limited to 'sys-libs/timezone-data')
-rw-r--r--sys-libs/timezone-data/timezone-data-2017b.ebuild8
1 files 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 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
}