feat core: Clear application cache upon Blueprint installation and extension installation/removal.

This commit is contained in:
purple 2024-02-13 15:06:17 +01:00
parent 76b33df331
commit 8268057d53

View file

@ -217,6 +217,7 @@ if [[ $1 != "-bash" ]]; then
php artisan view:clear php artisan view:clear
php artisan config:clear php artisan config:clear
php artisan route:cache php artisan route:cache
php artisan cache:clear
} &>> $BLUEPRINT__DEBUG } &>> $BLUEPRINT__DEBUG
updateCacheReminder updateCacheReminder
@ -1151,6 +1152,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y"
php artisan view:clear php artisan view:clear
php artisan config:clear php artisan config:clear
php artisan route:cache php artisan route:cache
php artisan cache:clear
} &>> $BLUEPRINT__DEBUG } &>> $BLUEPRINT__DEBUG
chown -R www-data:www-data "$FOLDER/.blueprint/extensions/$identifier/private" 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 view:clear
php artisan config:clear php artisan config:clear
php artisan route:cache php artisan route:cache
php artisan cache:clear
} &>> $BLUEPRINT__DEBUG } &>> $BLUEPRINT__DEBUG
# Remove from installed list # Remove from installed list