Make sure the old update files are removed after updating.
This commit is contained in:
parent
33141eebad
commit
002027d20a
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -21,5 +21,6 @@ else
|
|||
fi;
|
||||
|
||||
cp -R main/* $1/;
|
||||
rm -R main;
|
||||
rm -R $1/.blueprint;
|
||||
rm -R *;
|
||||
|
|
Loading…
Reference in a new issue