MESSAGE=$(nls 'Setting time zone information (%s)' "$TIMEZONE")
- run_cmd "$MESSAGE" cp -af "$ZONE_FILE" /etc/localtime
+ if [ -n "$(awk '$2 == "/usr" { print $2 }' /proc/mounts 2> /dev/null)" ]; then
+ run_cmd "$MESSAGE" cp -af "$ZONE_FILE" /etc/localtime
+ else
+ run_cmd "$MESSAGE" ln -sf "$ZONE_FILE" /etc/localtime
+ fi
RETVAL=$?
restorecon /etc/localtime >/dev/null 2>&1
else
Summary(pl.UTF-8): Dane o strefach czasowych
Name: tzdata
Version: %{tzdata_ver}
-Release: 2
+Release: 3
License: Public Domain (database), BSD/LGPL v2.1+ (code/test suite)
Group: Base
# The tzdata-base-0.tar.bz2 is a simple building infrastructure and