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
bash tools/update.sh $FOLDER
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
_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."

View file

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