Update 99-run.sh

This commit is contained in:
Alexandre
2022-05-09 07:46:28 +02:00
committed by GitHub
parent 9e711ad5d9
commit 82f31739cb

View File

@@ -5,7 +5,7 @@
# TIMEZONE #
############
if bashio::config.has_value 'TZ' && [ -f /etc/localtime ]; then
if bashio::config.has_value 'TZ'; then
TIMEZONE=$(bashio::config 'TZ')
bashio::log.info "Setting timezone to $TIMEZONE"
ln -snf /usr/share/zoneinfo/"$TIMEZONE" /etc/localtime