This commit is contained in:
deathbybandaid 2024-05-01 22:02:29 -04:00
parent 99a4463433
commit d3b7bc2552

View File

@ -23,7 +23,7 @@ set_tz() {
local tz_current="$2" local tz_current="$2"
local tz_desired="$3" local tz_desired="$3"
printf "$COL_LIGHT_BLUE" "* Desired Timezone is $tz_desired" printf "$COL_LIGHT_BLUE" "* Desired Timezone is $tz_desired"
if [ $tz_current != $tz_desired ] if [ "$tz_current" != "$tz_desired" ]
then then
printf "$COL_LIGHT_BLUE" "* Setting Timezone to $desired_timezone" printf "$COL_LIGHT_BLUE" "* Setting Timezone to $desired_timezone"
if [ "$tz_type" == "/etc/timezone" ]; then if [ "$tz_type" == "/etc/timezone" ]; then