mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Update upgrade
This commit is contained in:
parent
a2d8e8712d
commit
8e023f1fec
1 changed files with 12 additions and 6 deletions
|
@ -144,12 +144,18 @@ ynh_install_composer --install_args="--ignore-platform-reqs"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading Lychee source files..." --weight=4
|
ynh_script_progression --message="Upgrading Lychee source files..." --weight=4
|
||||||
|
|
||||||
pushd $final_path
|
# pushd $final_path
|
||||||
php$phpversion artisan key:generate -n --force --env
|
# php$phpversion artisan key:generate -n --force --env
|
||||||
php$phpversion artisan migrate -n --force
|
# php$phpversion artisan migrate -n --force
|
||||||
php$phpversion artisan config:clear -n
|
# php$phpversion artisan config:clear -n
|
||||||
php$phpversion artisan config:cache -n
|
# php$phpversion artisan config:cache -n
|
||||||
popd
|
# popd
|
||||||
|
|
||||||
|
ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\"
|
||||||
|
|
||||||
|
( cd $final_path && php$phpversion artisan migrate -n --force )
|
||||||
|
( cd $final_path && php$phpversion artisan config:clear -n )
|
||||||
|
( cd $final_path && php$phpversion artisan config:cache -n )
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SECURE FILES AND DIRECTORIES
|
# SECURE FILES AND DIRECTORIES
|
||||||
|
|
Loading…
Reference in a new issue