refactor(templates): wrap shell variables in double quotes to handle spaces and special characters safely

This commit is contained in:
emrah
2026-02-12 18:00:04 +03:00
committed by Saúl Ibarra Corretgé
parent 0e4bf5ed1a
commit 156e36e97f
8 changed files with 20 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bash
if [[ -n "$TZ" ]]; then
if [[ -f /usr/share/zoneinfo/$TZ ]]; then
if [[ -f "/usr/share/zoneinfo/$TZ" ]]; then
ln -sf /usr/share/zoneinfo/$TZ /etc/localtime
echo "$TZ" > /etc/timezone
else