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
commita48598742b71c0e46ca27ce7decd3369a59eddf7 (patch)
treea7d95f3b414e91871701bbd1203a0bc57dd2abae /sys-libs/glibc
parentupdates that should only affect the 1.0 profile (diff)
downloadgentoo-2-a48598742b71c0e46ca27ce7decd3369a59eddf7.tar.gz
gentoo-2-a48598742b71c0e46ca27ce7decd3369a59eddf7.tar.bz2
gentoo-2-a48598742b71c0e46ca27ce7decd3369a59eddf7.zip
tiny symlink update fix
Diffstat (limited to 'sys-libs/glibc')
-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
}