update the update thing

This commit is contained in:
Anri 2021-11-18 12:13:14 +01:00
parent d0727bb242
commit 9064067f03

View file

@ -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