未验证 提交 908b2c85 编写于 作者: J Joe Previte

fix: use new docs links in install script

上级 5a6af177
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
set -eu set -eu
# code-server's automatic install script. # code-server's automatic install script.
# See https://github.com/cdr/code-server/blob/main/docs/install.md # See https://github.com/cdr/code-server/blob/main/docs/install
usage() { usage() {
arg0="$0" arg0="$0"
...@@ -67,7 +67,7 @@ Usage: ...@@ -67,7 +67,7 @@ Usage:
It will cache all downloaded assets into ~/.cache/code-server It will cache all downloaded assets into ~/.cache/code-server
More installation docs are at https://github.com/cdr/code-server/blob/main/docs/install.md More installation docs are at https://coder.com/docs/code-server/v3.10.2/install
EOF EOF
} }
...@@ -430,7 +430,7 @@ install_npm() { ...@@ -430,7 +430,7 @@ install_npm() {
echoh echoh
echoerr "Please install npm or yarn to install code-server!" echoerr "Please install npm or yarn to install code-server!"
echoerr "You will need at least node v12 and a few C dependencies." echoerr "You will need at least node v12 and a few C dependencies."
echoerr "See the docs https://github.com/cdr/code-server/blob/v3.10.2/docs/install.md#yarn-npm" echoerr "See the docs https://coder.com/docs/code-server/v3.10.2/install#yarn-npm"
exit 1 exit 1
} }
...@@ -484,11 +484,6 @@ distro() { ...@@ -484,11 +484,6 @@ distro() {
) )
return return
fi fi
if [ -f /etc/alpine-release ]; then
echo "alpine"
return
fi
} }
# os_name prints a pretty human readable name for the OS/Distro. # os_name prints a pretty human readable name for the OS/Distro.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册