diff options
Diffstat (limited to 'source/a/glibc-zoneinfo/doinst.sh')
-rw-r--r-- | source/a/glibc-zoneinfo/doinst.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/a/glibc-zoneinfo/doinst.sh b/source/a/glibc-zoneinfo/doinst.sh index 3c86f65e..05f1e990 100644 --- a/source/a/glibc-zoneinfo/doinst.sh +++ b/source/a/glibc-zoneinfo/doinst.sh @@ -28,7 +28,7 @@ # # If we see that the machine's localtime-copied-from symlink is pointing # to US/Pacific-New, change it to point to US/Pacific instead. -if [ "$(/bin/ls -l etc/localtime-copied-from | rev | cut -f 1,2 -d / | rev)" = "US/Pacific-New" ]; then +if [ "$(/bin/ls -l etc/localtime-copied-from 2> /dev/null | rev | cut -f 1,2 -d / | rev)" = "US/Pacific-New" ]; then ( cd etc ; rm -rf localtime-copied-from ) ( cd etc ; ln -sf /usr/share/zoneinfo/US/Pacific localtime-copied-from ) fi |