summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2008-03-26 20:12:15 +0000
committerDoug Goldstein <cardoe@gentoo.org>2008-03-26 20:12:15 +0000
commitac1e54ae0f04fc0d277932bc894bfc14b51fa2aa (patch)
treec2e9169463c392d694eafb7cb802badf73bfcd9f /sys-apps
parentadd OpenRC 0.2 (diff)
downloadgentoo-2-ac1e54ae0f04fc0d277932bc894bfc14b51fa2aa.tar.gz
gentoo-2-ac1e54ae0f04fc0d277932bc894bfc14b51fa2aa.tar.bz2
gentoo-2-ac1e54ae0f04fc0d277932bc894bfc14b51fa2aa.zip
sync ebuilds
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild
index 1f1a8f6d3dcd..759d3c0cdb91 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.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-apps/openrc/openrc-9999.ebuild,v 1.12 2008/03/26 20:06:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.13 2008/03/26 20:12:15 cardoe Exp $
inherit eutils flag-o-matic multilib toolchain-funcs
@@ -122,7 +122,7 @@ pkg_preinst() {
fi
# upgrade timezone file
- if [[ ! -e ${ROOT}/etc/timezone ]] ; then
+ if [[ -e ${ROOT}/etc/conf.d/clock && ! -e ${ROOT}/etc/timezone ]] ; then
(
source "${ROOT}"/etc/conf.d/clock
[[ -n ${TIMEZONE} ]] && echo "${TIMEZONE}" > "${ROOT}"/etc/timezone