mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
timezone-data: fallback to UTC if timezone is empty. just in case.
This commit is contained in:
parent
079f79a1e9
commit
cd76096011
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user