1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
This commit is contained in:
ericgaspar 2021-02-21 18:20:32 +01:00
parent bfe4f0c052
commit 55c0d81bd6
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 7 additions and 2 deletions

View file

@ -131,7 +131,11 @@ ynh_store_file_checksum --file="$final_path/config/db.inc.php"
# Install PHP dependencies using composer
#=================================================
ynh_install_composer --phpversion="$phpversion" --workdir="$final_path"
pushd $final_path
export COMPOSER_HOME=$final_path
ynh_exec_warn_less curl -sS https://getcomposer.org/installer | php${phpversion} -- --version="1.10.16" --install-dir="$final_path" \
&& php${phpversion} composer.phar install --no-interaction --quiet
popd
#=================================================
# SETUP SYSTEMD

View file

@ -158,10 +158,11 @@ pushd "$final_path"
ynh_exec_warn_less curl -sS https://getcomposer.org/installer | php$phpversion -- --version="1.10.16" --install-dir="$final_path" \
&& php$phpversion composer.phar config --global discard-changes true --quiet \
&& php$phpversion composer.phar update --no-interaction --quiet \
&& php$phpversion composer.phar install --no-interaction --quiet \
&& php$phpversion composer.phar movim:migrate --quiet
popd
#&& php$phpversion composer.phar install --no-interaction --quiet \
#=================================================
# SETUP SYSTEMD
#=================================================