update the update thing
This commit is contained in:
parent
d0727bb242
commit
9064067f03
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue