更新 install-coder.sh
This commit is contained in:
parent
6654832f0a
commit
6e3b69eade
@ -396,7 +396,7 @@ install_standalone() {
|
||||
echoh "Installing v$VERSION of the $ARCH release from GitHub."
|
||||
echoh
|
||||
|
||||
fetch "https://mirror.ghproxy.com/https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-$OS-$ARCH.tar.gz" \
|
||||
fetch "https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-$OS-$ARCH.tar.gz" \
|
||||
"$CACHE_DIR/code-server-$VERSION-$OS-$ARCH.tar.gz"
|
||||
|
||||
# -w only works if the directory exists so try creating it first. If this
|
||||
@ -554,7 +554,7 @@ command_exists() {
|
||||
sh_c() {
|
||||
echoh "+ $*"
|
||||
if [ ! "${DRY_RUN-}" ]; then
|
||||
sh -c "HTTPS_PROXY=http://vaala:bcali@10.10.0.30:31789 HTTP_PROXY=http://vaala:bcali@10.10.0.4:31789 $*"
|
||||
sh -c "HTTPS_PROXY=http://vaala:bcali@10.10.0.9:8899 HTTP_PROXY=http://vaala:bcali@10.10.0.9:8899 $*"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user