1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpmyadmin_ynh.git synced 2024-09-03 19:56:46 +02:00

fix composer

This commit is contained in:
Maniack Crudelis 2017-10-20 15:14:39 +02:00
parent 09271bfda1
commit b5ab414391
3 changed files with 2 additions and 5 deletions

View file

@ -26,9 +26,6 @@ init_composer() {
php -- --quiet --install-dir="$destdir" \ php -- --quiet --install-dir="$destdir" \
|| ynh_die "Unable to install Composer" || ynh_die "Unable to install Composer"
# install composer.json
cp "${destdir}/composer.json-dist" "${destdir}/composer.json"
# update dependencies to create composer.lock # update dependencies to create composer.lock
exec_composer "$destdir" install --no-dev \ exec_composer "$destdir" install --no-dev \
|| ynh_die "Unable to update Roundcube core dependencies" || ynh_die "Unable to update Roundcube core dependencies"

View file

@ -122,7 +122,7 @@ ynh_store_file_checksum "$final_path/config.inc.php"
init_composer "$final_path" init_composer "$final_path"
# Install dependencies # Install dependencies
exec_composer update --no-dev exec_composer "$final_path" update --no-dev
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION

View file

@ -138,7 +138,7 @@ ynh_store_file_checksum "$final_path/config.inc.php"
init_composer "$final_path" init_composer "$final_path"
# Install dependencies # Install dependencies
exec_composer update --no-dev exec_composer "$final_path" update --no-dev
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION