mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-11-11 01:40:41 +08:00
Update InstallNET.sh
This commit is contained in:
parent
cebc13e22d
commit
487669e99a
1 changed files with 1 additions and 1 deletions
|
|
@ -518,7 +518,7 @@ function getUserTimezone() {
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo `timedatectl list-timezones` >> "$1"
|
echo `timedatectl list-timezones` >> "$1"
|
||||||
[[ `grep -c "$TimeZone" "$1"` == "0" || ! -f "/usr/share/zoneinfo/$1" ]] && TimeZone="Asia/Tokyo"
|
[[ `grep -c "$TimeZone" "$1"` == "0" || ! "/usr/share/zoneinfo/$1" ]] && TimeZone="Asia/Tokyo"
|
||||||
rm -rf "$1"
|
rm -rf "$1"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue