aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-07-09 18:53:24 +0000
committerBill Nottingham <notting@redhat.com>1999-07-09 18:53:24 +0000
commitb211988bfbeeb4bb2dd90c98522576c5a69789bc (patch)
treea7e84235187f82d8bd8a9a2e9c188ad382ed880e
parent4d3c2a5f4d22f5bbb5ece5dcce9624a289e5358d (diff)
downloadinitscripts-b211988bfbeeb4bb2dd90c98522576c5a69789bc.tar
initscripts-b211988bfbeeb4bb2dd90c98522576c5a69789bc.tar.gz
initscripts-b211988bfbeeb4bb2dd90c98522576c5a69789bc.tar.bz2
initscripts-b211988bfbeeb4bb2dd90c98522576c5a69789bc.tar.xz
initscripts-b211988bfbeeb4bb2dd90c98522576c5a69789bc.zip
fix path sed of zonefile location
-rw-r--r--initscripts.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index a616a1d8..967a19e8 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -110,7 +110,7 @@ if [ -L /etc/localtime ]; then
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
+ echo "ZONE=\"$_FNAME"\" | sed -e "s|.*/usr/share/zoneinfo/||" >> /etc/sysconfig/clock
fi
fi