feat: timezone enhancement
This commit is contained in:
@@ -99,11 +99,10 @@ case "$1" in
|
||||
fi
|
||||
if grep -q "TZ=" ${org_env_file}; then
|
||||
sed "s|TZ=.*|TZ=${TIMEZONE}|" ${org_env_file} > $tmp_env_file
|
||||
mv $tmp_env_file $org_env_file
|
||||
else
|
||||
echo "TZ=${TIMEZONE}" >> ${org_env_file}
|
||||
fi
|
||||
mv $tmp_env_file $org_env_file
|
||||
|
||||
|
||||
# replace nginx.conf gateway server ip and port
|
||||
|
||||
|
||||
Reference in New Issue
Block a user