summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-02 00:22:52 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-02 00:26:48 -0500
commit2178d2c8957b99e73d120472e06d751a5e80ea1d (patch)
tree29fcd03eb7f6ca7e41dbee9063df56e2de2ff4eb /sys-libs/timezone-data
parentgames-emulation/mednaffe: add app-arch/unzip to DEPEND (diff)
downloadgentoo-2178d2c8957b99e73d120472e06d751a5e80ea1d.tar.gz
gentoo-2178d2c8957b99e73d120472e06d751a5e80ea1d.tar.bz2
gentoo-2178d2c8957b99e73d120472e06d751a5e80ea1d.zip
sys-libs/timezone-data: add a message about empty /etc/localtime files #570388
Diffstat (limited to 'sys-libs/timezone-data')
-rw-r--r--sys-libs/timezone-data/timezone-data-2015g.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-libs/timezone-data/timezone-data-2015g.ebuild b/sys-libs/timezone-data/timezone-data-2015g.ebuild
index fdeb5231eeed..62ca81257edd 100644
--- a/sys-libs/timezone-data/timezone-data-2015g.ebuild
+++ b/sys-libs/timezone-data/timezone-data-2015g.ebuild
@@ -113,7 +113,10 @@ pkg_config() {
return 0
fi
- tz=$(get_TIMEZONE) || return 0
+ if ! tz=$(get_TIMEZONE) ; then
+ einfo "Assuming your empty ${etc_lt} file is what you want; skipping update."
+ return 0
+ fi
if [[ ${tz} == "FOOKABLOIE" ]] ; then
elog "You do not have TIMEZONE set in ${src}."