Fix input overwrite on time zone configuration

This commit is contained in:
seajee
2024-09-02 05:18:30 +02:00
parent d2623ec38d
commit eb257125f4

View File

@@ -13,7 +13,7 @@ while
read -p "Enter time zone (${timezone}): " input
if [[ -n "$input" ]]; then
input="$timezone"
break
fi
if [[ ! -f "/usr/share/zoneinfo/${input}" ]]; then