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:
parent
09271bfda1
commit
b5ab414391
3 changed files with 2 additions and 5 deletions
|
@ -26,9 +26,6 @@ init_composer() {
|
|||
php -- --quiet --install-dir="$destdir" \
|
||||
|| ynh_die "Unable to install Composer"
|
||||
|
||||
# install composer.json
|
||||
cp "${destdir}/composer.json-dist" "${destdir}/composer.json"
|
||||
|
||||
# update dependencies to create composer.lock
|
||||
exec_composer "$destdir" install --no-dev \
|
||||
|| ynh_die "Unable to update Roundcube core dependencies"
|
||||
|
|
|
@ -122,7 +122,7 @@ ynh_store_file_checksum "$final_path/config.inc.php"
|
|||
init_composer "$final_path"
|
||||
|
||||
# Install dependencies
|
||||
exec_composer update --no-dev
|
||||
exec_composer "$final_path" update --no-dev
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
|
@ -138,7 +138,7 @@ ynh_store_file_checksum "$final_path/config.inc.php"
|
|||
init_composer "$final_path"
|
||||
|
||||
# Install dependencies
|
||||
exec_composer update --no-dev
|
||||
exec_composer "$final_path" update --no-dev
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
Loading…
Reference in a new issue