From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B86631384B4 for ; Sat, 2 Jan 2016 05:46:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9BD4E084B; Sat, 2 Jan 2016 05:46:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7497AE084B for ; Sat, 2 Jan 2016 05:46:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7515C3405BB for ; Sat, 2 Jan 2016 05:46:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 64E05C94 for ; Sat, 2 Jan 2016 05:46:04 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1451712408.2178d2c8957b99e73d120472e06d751a5e80ea1d.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/timezone-data/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/timezone-data/timezone-data-2015g.ebuild X-VCS-Directories: sys-libs/timezone-data/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 2178d2c8957b99e73d120472e06d751a5e80ea1d X-VCS-Branch: master Date: Sat, 2 Jan 2016 05:46:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cf2bd29b-5430-4e1a-b2c2-21db369e1661 X-Archives-Hash: 4c14d28ba0603c4749d8d1f23a8a31bb commit: 2178d2c8957b99e73d120472e06d751a5e80ea1d Author: Mike Frysinger gentoo org> AuthorDate: Sat Jan 2 05:22:52 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sat Jan 2 05:26:48 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2178d2c8 sys-libs/timezone-data: add a message about empty /etc/localtime files #570388 sys-libs/timezone-data/timezone-data-2015g.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys-libs/timezone-data/timezone-data-2015g.ebuild b/sys-libs/timezone-data/timezone-data-2015g.ebuild index fdeb523..62ca812 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}."