From 8268057d538310466cd6add23815d514d55623e1 Mon Sep 17 00:00:00 2001 From: purple Date: Tue, 13 Feb 2024 15:06:17 +0100 Subject: [PATCH] feat `core`: Clear application cache upon Blueprint installation and extension installation/removal. --- blueprint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blueprint.sh b/blueprint.sh index ca6855d..00b6de7 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -217,6 +217,7 @@ if [[ $1 != "-bash" ]]; then php artisan view:clear php artisan config:clear php artisan route:cache + php artisan cache:clear } &>> $BLUEPRINT__DEBUG updateCacheReminder @@ -1151,6 +1152,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y" php artisan view:clear php artisan config:clear php artisan route:cache + php artisan cache:clear } &>> $BLUEPRINT__DEBUG chown -R www-data:www-data "$FOLDER/.blueprint/extensions/$identifier/private" @@ -1463,6 +1465,7 @@ if [[ ( $2 == "-r" ) || ( $2 == "-remove" ) ]]; then VCMD="y" php artisan view:clear php artisan config:clear php artisan route:cache + php artisan cache:clear } &>> $BLUEPRINT__DEBUG # Remove from installed list