aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-29 16:01:43 +0800
committerGitHub <noreply@github.com>2022-11-29 16:01:43 +0800
commitc82166324124c7941ac58455912d92184c7cb370 (patch)
treeef2cd22f858fea79fcaae6cd61df53a38f554528
parent8c04b0ecad21872f3a4457c2584c3aff6984141a (diff)
downloadcrupest-c82166324124c7941ac58455912d92184c7cb370.tar.gz
crupest-c82166324124c7941ac58455912d92184c7cb370.tar.bz2
crupest-c82166324124c7941ac58455912d92184c7cb370.zip
Update install-code-server.bash to fix rm bug.
-rwxr-xr-xdocker/code-server/install-code-server.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/code-server/install-code-server.bash b/docker/code-server/install-code-server.bash
index c8e8556..6829111 100755
--- a/docker/code-server/install-code-server.bash
+++ b/docker/code-server/install-code-server.bash
@@ -4,7 +4,7 @@ set -e
apt-get update
apt-get install -y locales curl
-rm -rf /var/lib/apt/lists/* \
+rm -rf /var/lib/apt/lists/*
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
VERSION=$(curl -s https://api.github.com/repos/coder/code-server/releases/latest | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/')