diff options
author | Bill Nottingham <notting@redhat.com> | 2005-04-11 21:32:21 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-04-11 21:32:21 +0000 |
commit | 3c23ecf294f31448f0f7b8ea80423dab429960c2 (patch) | |
tree | 7c12b60999b31a0359008eaa276cd0d3759b556e /initscripts.spec | |
parent | 95ff445c72d1c997729875639b3a241cd6432db1 (diff) | |
download | initscripts-3c23ecf294f31448f0f7b8ea80423dab429960c2.tar initscripts-3c23ecf294f31448f0f7b8ea80423dab429960c2.tar.gz initscripts-3c23ecf294f31448f0f7b8ea80423dab429960c2.tar.bz2 initscripts-3c23ecf294f31448f0f7b8ea80423dab429960c2.tar.xz initscripts-3c23ecf294f31448f0f7b8ea80423dab429960c2.zip |
remove legacy code for upgrades from 6.0 or earlier
Diffstat (limited to 'initscripts.spec')
-rw-r--r-- | initscripts.spec | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/initscripts.spec b/initscripts.spec index ff6ec748..894cc94d 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -86,16 +86,6 @@ if [ $1 = 0 ]; then fi 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/'` - 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 - %preun if [ $1 = 0 ]; then /sbin/chkconfig --del netfs |