mirror of
https://github.com/YunoHost-Apps/invoiceninja5_ynh.git
synced 2024-09-03 19:26:23 +02:00
fix secure remove usage
This commit is contained in:
parent
eeb30a6489
commit
57aeeb8405
1 changed files with 3 additions and 1 deletions
|
@ -133,7 +133,9 @@ ynh_script_progression --message="Upgrading the database..."
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
# Clear caches
|
# Clear caches
|
||||||
# https://github.com/invoiceninja/invoiceninja/issues/7397
|
# https://github.com/invoiceninja/invoiceninja/issues/7397
|
||||||
ynh_secure_remove bootstrap/cache/* storage/framework/cache/* storage/framework/sessions/*
|
ynh_secure_remove --file=bootstrap/cache/*
|
||||||
|
ynh_secure_remove --file=storage/framework/cache/*
|
||||||
|
ynh_secure_remove --file=storage/framework/sessions/*
|
||||||
|
|
||||||
# Run the database migrations
|
# Run the database migrations
|
||||||
php$phpversion artisan migrate --force --no-interaction --verbose
|
php$phpversion artisan migrate --force --no-interaction --verbose
|
||||||
|
|
Loading…
Reference in a new issue