diff options
Diffstat (limited to 'initscripts.spec')
-rw-r--r-- | initscripts.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec index a46c04ed..af3fcd24 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 |