aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
Diffstat (limited to 'initscripts.spec')
-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