diff options
Diffstat (limited to 'sys-libs/timezone-data/timezone-data-2017b.ebuild')
-rw-r--r-- | sys-libs/timezone-data/timezone-data-2017b.ebuild | 8 |
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 } |