diff options
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 |