Automatically clear tools/tmp folder upon installation.

This commit is contained in:
purple 2023-07-12 13:09:38 +02:00
parent 1c039a8c6f
commit fb0e2b313f
2 changed files with 4 additions and 0 deletions

View file

@ -150,6 +150,8 @@ if [[ $1 != "-bash" ]]; then
rm -R .blueprint/dev/*; rm -R .blueprint/dev/*;
log_bright "[INFO] rm -R .blueprint/data/extensions/*"; log_bright "[INFO] rm -R .blueprint/data/extensions/*";
rm -R .blueprint/data/extensions/*; rm -R .blueprint/data/extensions/*;
log_bright "[INFO] rm -R tools/tmp/*";
rm -R tools/tmp/*;
# Put application into production. # Put application into production.
log_bright "[INFO] php artisan up"; log_bright "[INFO] php artisan up";

View file

@ -1,2 +1,4 @@
*This folder is cleared automatically upon installation.*
This directory is used for storing files when upgrading your panel.\ This directory is used for storing files when upgrading your panel.\
The default tmp folder, ".blueprint/tmp" should not be used for tools. The default tmp folder, ".blueprint/tmp" should not be used for tools.