diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-06-03 20:02:40 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-06-03 20:02:40 +0000 |
commit | 84659e5e470dc3ec277d4d0e0063b7673282cc30 (patch) | |
tree | 521ae0ee0a39cde1a190491a7b28c3cce3d70d7e /sys-libs/timezone-data | |
parent | Remove old. (diff) | |
download | gentoo-2-84659e5e470dc3ec277d4d0e0063b7673282cc30.tar.gz gentoo-2-84659e5e470dc3ec277d4d0e0063b7673282cc30.tar.bz2 gentoo-2-84659e5e470dc3ec277d4d0e0063b7673282cc30.zip |
allow /etc/timezone to be empty as well to indicate user-management
(Portage version: 2.2_pre5.spank.spunk)
Diffstat (limited to 'sys-libs/timezone-data')
-rw-r--r-- | sys-libs/timezone-data/timezone-data-2008c.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-libs/timezone-data/timezone-data-2008c.ebuild b/sys-libs/timezone-data/timezone-data-2008c.ebuild index eef84bf33358..9fee907a1bce 100644 --- a/sys-libs/timezone-data/timezone-data-2008c.ebuild +++ b/sys-libs/timezone-data/timezone-data-2008c.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2008c.ebuild,v 1.2 2008/06/03 14:42:36 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2008c.ebuild,v 1.3 2008/06/03 20:02:40 vapier Exp $ inherit eutils toolchain-funcs flag-o-matic @@ -59,7 +59,6 @@ pkg_config() { if has_version '<sys-apps/baselayout-2' ; then src="/etc/conf.d/clock" tz=$(unset TIMEZONE ; source "${ROOT}"/etc/conf.d/clock ; echo ${TIMEZONE-FOOKABLOIE}) - [[ -z ${tz} ]] && return 0 else src="/etc/timezone" if [[ -e ${ROOT}/etc/timezone ]] ; then @@ -68,6 +67,7 @@ pkg_config() { tz="FOOKABLOIE" fi fi + [[ -z ${tz} ]] && return 0 if [[ ${tz} == "FOOKABLOIE" ]] ; then elog "You do not have TIMEZONE set in ${src}." |