mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
fix
This commit is contained in:
parent
4d72497933
commit
f50a3ec985
2 changed files with 6 additions and 7 deletions
|
@ -15,7 +15,7 @@ pkg_dependencies="ufraw-batch ffmpeg" #redis-server redis-tools
|
|||
# EXPERIMENTAL HELPERS
|
||||
#=================================================
|
||||
|
||||
readonly YNH_DEFAULT_COMPOSER_VERSION=2.0.8 #1.10.17
|
||||
readonly YNH_DEFAULT_COMPOSER_VERSION=1.10.17 #1.10.17
|
||||
# Declare the actual composer version to use.
|
||||
# A packager willing to use another version of composer can override the variable into its _common.sh.
|
||||
YNH_COMPOSER_VERSION=${YNH_COMPOSER_VERSION:-$YNH_DEFAULT_COMPOSER_VERSION}
|
||||
|
|
|
@ -127,15 +127,14 @@ ynh_add_fpm_config --package="$extra_php_dependencies"
|
|||
ynh_script_progression --message="Installing Composer..." --weight=10
|
||||
|
||||
# Install Composer
|
||||
#ynh_install_composer
|
||||
|
||||
#ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\"
|
||||
ynh_install_composer
|
||||
ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\"
|
||||
|
||||
pushd "$final_path"
|
||||
php$phpversion artisan key:generate -n
|
||||
#php$phpversion artisan key:generate -n
|
||||
php$phpversion artisan migrate -n --force
|
||||
php$phpversion artisan config:clear -n
|
||||
php$phpversion artisan config:cache -n
|
||||
#php$phpversion artisan config:clear -n
|
||||
#php$phpversion artisan config:cache -n
|
||||
popd
|
||||
|
||||
ynh_backup_if_checksum_is_different --file="$final_path/.env"
|
||||
|
|
Loading…
Add table
Reference in a new issue