Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Mike Frysinger (vapier)" <vapier@g.o>
Subject: gentoo-x86 commit in sys-libs/timezone-data: timezone-data-2008c.ebuild
Date: Tue, 03 Jun 2008 20:02:40 +0000
vapier      08/06/03 20:02:40

  Modified:             timezone-data-2008c.ebuild
  Log:
  allow /etc/timezone to be empty as well to indicate user-management
  (Portage version: 2.2_pre5.spank.spunk)

Revision  Changes    Path
1.3                  sys-libs/timezone-data/timezone-data-2008c.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/timezone-data/timezone-data-2008c.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/timezone-data/timezone-data-2008c.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/timezone-data/timezone-data-2008c.ebuild?r1=1.2&r2=1.3

Index: timezone-data-2008c.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2008c.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- timezone-data-2008c.ebuild	3 Jun 2008 14:42:36 -0000	1.2
+++ timezone-data-2008c.ebuild	3 Jun 2008 20:02:40 -0000	1.3
@@ -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 @@
 	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 @@
 			tz="FOOKABLOIE"
 		fi
 	fi
+	[[ -z ${tz} ]] && return 0
 
 	if [[ ${tz} == "FOOKABLOIE" ]] ; then
 		elog "You do not have TIMEZONE set in ${src}."



-- 
gentoo-commits@g.o mailing list


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
portage r10557 - main/branches/prefix/pym/portage
Next by thread:
gentoo-x86 commit in sys-libs/timezone-data: timezone-data-2008c.ebuild
Previous by date:
portage r10557 - main/branches/prefix/pym/portage
Next by date:
gentoo-x86 commit in app-backup/ccollect: ChangeLog ccollect-0.7.0-r1.ebuild ccollect-0.7.0.ebuild


Updated Jan 23, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.