fix(core): Stop wiping the tools/tmp directory when upgrading.

This commit is contained in:
purple 2023-10-13 20:18:20 +02:00
parent 9c270e0195
commit 5cba275cda
2 changed files with 1 additions and 5 deletions

View file

@ -1152,9 +1152,6 @@ if [[ $2 == "-upgrade" ]]; then VCMD="y"
else else
bash tools/update.sh $FOLDER bash tools/update.sh $FOLDER
fi fi
if [[ -n $(find tools/tmp -maxdepth 1 -type f -not -name ".gitkeep" -print -quit) ]]; then
rm -R tools/tmp/*
fi
chmod +x blueprint.sh chmod +x blueprint.sh
_FOLDER="$FOLDER" bash blueprint.sh --post-upgrade _FOLDER="$FOLDER" bash blueprint.sh --post-upgrade
log_bright "[INFO] Bash might spit out some errors from here on out. EOF, command not found and syntax errors are expected behaviour." log_bright "[INFO] Bash might spit out some errors from here on out. EOF, command not found and syntax errors are expected behaviour."

View file

@ -23,4 +23,3 @@ fi;
cp -R main/* $1/; cp -R main/* $1/;
rm -R main; rm -R main;
rm -R $1/.blueprint; rm -R $1/.blueprint;
rm -R *;