diff --git a/blueprint.sh b/blueprint.sh index 649ab43..5d44da0 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -441,6 +441,7 @@ if [[ $2 == "-upgrade" ]]; then else bash tools/update.sh /var/www/$FOLDER fi; + rm -R tools/tmp/main; log_bright "[INFO] Files have been upgraded, running installation script.."; chmod +x blueprint.sh; bash blueprint.sh --post-upgrade; diff --git a/tools/update.sh b/tools/update.sh index 6fa7eca..75d8e31 100644 --- a/tools/update.sh +++ b/tools/update.sh @@ -21,5 +21,6 @@ else fi; cp -R main/* $1/; +rm -R main; rm -R $1/.blueprint; rm -R *;