timezone-data: fallback to UTC if timezone is empty. just in case.

This commit is contained in:
Stefan Saraev 2013-10-22 15:22:32 +03:00
parent 079f79a1e9
commit cd76096011

View File

@ -27,4 +27,6 @@ fi
if [ ! "$TIMEZONE" == "" -a -f "/usr/share/zoneinfo/$TIMEZONE" ] ; then if [ ! "$TIMEZONE" == "" -a -f "/usr/share/zoneinfo/$TIMEZONE" ] ; then
ln -sf "/usr/share/zoneinfo/$TIMEZONE" /var/run/localtime ln -sf "/usr/share/zoneinfo/$TIMEZONE" /var/run/localtime
else
ln -sf "/usr/share/zoneinfo/UTC" /var/run/localtime
fi fi