mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-11-09 17:00:43 +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
|
||||
else
|
||||
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"
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue