aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-07-08 21:23:29 +0000
committerBill Nottingham <notting@redhat.com>1999-07-08 21:23:29 +0000
commit2ec12f01b614707e18e66d4e383aaaf704b5db07 (patch)
treed01ca8d355b3831fd4b95f5fb2bbaee56ca15580
parentb1902b63d48c5d4ba7aa7d7f9d04d4b809a7b6a6 (diff)
downloadinitscripts-2ec12f01b614707e18e66d4e383aaaf704b5db07.tar
initscripts-2ec12f01b614707e18e66d4e383aaaf704b5db07.tar.gz
initscripts-2ec12f01b614707e18e66d4e383aaaf704b5db07.tar.bz2
initscripts-2ec12f01b614707e18e66d4e383aaaf704b5db07.tar.xz
initscripts-2ec12f01b614707e18e66d4e383aaaf704b5db07.zip
fix timeconfig non-dependency
-rw-r--r--initscripts.spec13
1 files changed, 7 insertions, 6 deletions
diff --git a/initscripts.spec b/initscripts.spec
index f14cd3dd..8f7bdca6 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -106,11 +106,12 @@ fi
# dup of timeconfig %post - here to avoid a dependency
if [ -L /etc/localtime ]; then
- _FNAME=`ls -ld /etc/localtime | awk '{ print $11}' | sed 's/lib/share'`
- cp -f $_FNAME /etc/localtime
- if ! grep -q "^ZONE=" /etc/sysconfig/clock ; then
- echo "ZONE=\"$_FNAME"\" | sed -e "s|/usr/share/zoneinfo/||" >> /etc/sysconfig/clock
- fi
+ _FNAME=`ls -ld /etc/localtime | awk '{ print $11}' | sed 's/lib/share/'`
+ rm /etc/localtime
+ cp -f $_FNAME /etc/localtime
+ if ! grep -q "^ZONE=" /etc/sysconfig/clock ; then
+ echo "ZONE=\"$_FNAME"\" | sed -e "s|/usr/share/zoneinfo/||" >> /etc/sysconfig/clock
+ fi
fi
%postun
@@ -264,7 +265,7 @@ rm -rf $RPM_BUILD_ROOT
- set macaddr before bootp
- zero in the /var/run/utmpx file (gafton)
- don't set hostname on ppp/slip (kills X)
-
+
* Wed Mar 17 1999 Bill Nottingham <notting@redhat.com>
- exit ifup if pump fails
- fix stupid errors in reading commands from subprocess