Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1e6d7c7

Browse files
authoredSep 7, 2022
Fix deb install instructions: ${VERSION}_foo
The install instructions weren't copy-pastable: `$VERSION_foo` is the same as `${VERSION_foo}`, not `${VERSION}_foo`. ```sh $ VERSION=4.6.1 $ curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_$VERSION_amd64.deb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 9 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 $ echo curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_$VERSION_amd64.deb curl -fOL https://github.com/coder/code-server/releases/download/v4.6.1/code-server_.deb ```
1 parent 64822d0 commit 1e6d7c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ code-server
154154
> upgrade or [build with npm](#npm).
155155
156156
```bash
157-
curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_$VERSION_amd64.deb
158-
sudo dpkg -i code-server_$VERSION_amd64.deb
157+
curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_${VERSION}_amd64.deb
158+
sudo dpkg -i code-server_${VERSION}_amd64.deb
159159
sudo systemctl enable --now code-server@$USER
160160
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
161161
```

0 commit comments

Comments
 (0)
Please sign in to comment.