From 9064067f036d935e5f2a33dbc4ce0dd33ffbb8f3 Mon Sep 17 00:00:00 2001 From: Anri Date: Thu, 18 Nov 2021 12:13:14 +0100 Subject: [PATCH] update the update thing --- updateVSCodium.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/updateVSCodium.sh b/updateVSCodium.sh index 7838d0a..911c590 100644 --- a/updateVSCodium.sh +++ b/updateVSCodium.sh @@ -15,10 +15,14 @@ then fi if [ -x $HOME/.vscodium_scripts ] ; then # if the folder already exists (not the first run?) - # remove the folder - rm -rf $HOME/.vscodium_scripts + # go to the folder and clear it + cd $HOME/.vscodium_scripts + rm * else # if the folder isn't already created (first run?) + # creating the folder + mkdir $HOME/.vscodium_scripts + cd $HOME/.vscodium_scripts echo "" echo "First run, adding commmands to shell, you will need to restart your shell" @@ -51,10 +55,6 @@ else # if the folder isn't already created (first run?) fi fi -# (re)creating the folder -mkdir $HOME/.vscodium_scripts -cd $HOME/.vscodium_scripts - # downloading this script in the folder wget -q --show-progress https://git.kennel.ml/Anri/downloadcodium/raw/branch/main/updateVSCodium.sh