diff --git a/index.html b/index.html index 4c784bf..2045699 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ 1.7K May 8 22:33 convert_translation.sh 3.0K May 8 22:06 create_acl_for_luci.sh 3.7K May 8 23:28 create_ucitrack_for_luci.sh -9.9K Jun 26 02:16 init_build_environment.sh +9.9K Jul 26 21:10 init_build_environment.sh 18K Jun 1 2023 LICENSE 4.0K Jun 26 02:10 maintainer-tools 4.7K Jun 1 2023 maketag.sh diff --git a/init_build_environment.sh b/init_build_environment.sh index 7384ecb..36ff43d 100755 --- a/init_build_environment.sh +++ b/init_build_environment.sh @@ -201,10 +201,10 @@ function install_dependencies() { yarn config set registry "https://registry.npmmirror.com" --global fi - apt install -y $BPO_FLAG golang-1.21-go + apt install -y $BPO_FLAG golang-1.22-go rm -rf "/usr/bin/go" "/usr/bin/gofmt" - ln -svf "/usr/lib/go-1.21/bin/go" "/usr/bin/go" - ln -svf "/usr/lib/go-1.21/bin/gofmt" "/usr/bin/gofmt" + ln -svf "/usr/lib/go-1.22/bin/go" "/usr/bin/go" + ln -svf "/usr/lib/go-1.22/bin/gofmt" "/usr/bin/gofmt" if [ -n "$CHN_NET" ]; then go env -w GOPROXY=https://goproxy.cn,direct fi