From 8c9fef1ff26309c43376efb12a3ff45089481016 Mon Sep 17 00:00:00 2001 From: Phil Connor Date: Mon, 18 Mar 2024 11:38:44 -0500 Subject: [PATCH] added auto delete to update section --- Update_CodeSVR.sh | 1 + 1 file changed, 1 insertion(+) 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 }