summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2002-03-18 06:57:46 +0000
committerDaniel Robbins <drobbins@gentoo.org>2002-03-18 06:57:46 +0000
commitfd7cc4684f694b4e22329002df2549386d8d1241 (patch)
tree53f5ce75365371359a7c03359beacaf3a729f74e /sys-libs
parentupdates that should only affect the 1.0 profile (diff)
downloadhistorical-fd7cc4684f694b4e22329002df2549386d8d1241.tar.gz
historical-fd7cc4684f694b4e22329002df2549386d8d1241.tar.bz2
historical-fd7cc4684f694b4e22329002df2549386d8d1241.zip
tiny symlink update fix
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/glibc-2.2.5-r2.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-libs/glibc/glibc-2.2.5-r2.ebuild b/sys-libs/glibc/glibc-2.2.5-r2.ebuild
index 616cbeafb193..afc3424a9531 100644
--- a/sys-libs/glibc/glibc-2.2.5-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.2.5-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2.5-r2.ebuild,v 1.1 2002/03/09 08:28:24 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2.5-r2.ebuild,v 1.2 2002/03/18 06:57:46 drobbins Exp $
S=${WORKDIR}/${P}
DESCRIPTION="GNU libc6 (also called glibc2) C library"
@@ -130,9 +130,10 @@ src_install() {
pkg_postinst()
{
- if [ ! -e ${ROOT}etc/localtime ]
+ if [ ! -L ${ROOT}etc/localtime ]
then
echo "Please remember to set your timezone using the zic command."
+ rm -f ${ROOT}/etc/localtime
ln -s ../usr/share/zoneinfo/Factory ${ROOT}/etc/localtime
fi
}