diff --git a/Update_CodeSVR.sh b/Update_CodeSVR.sh index a497956..76f1fd1 100644 --- a/Update_CodeSVR.sh +++ b/Update_CodeSVR.sh @@ -88,6 +88,7 @@ install_codeserver() { wget "https://github.com/coder/code-server/releases/download/v$version/code-server-$version-linux-amd64.tar.gz" tar xvf "code-server-$version-linux-amd64.tar.gz" cp -r ~/code-server-"$version"-linux-amd64/* ${SERVDIR} + rm -rf ~/code-server-"$version"-linux-* systemctl start code-server fi }