mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
[enh] Be less verbose when running composer
This commit is contained in:
parent
aebd4ba52d
commit
5578f497c4
2 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ sudo chmod 400 "${DESTDIR}/config/db.inc.php"
|
|||
(curl -sS https://getcomposer.org/installer \
|
||||
| exec_cmd php -- --quiet --install-dir="$DESTDIR" \
|
||||
&& exec_cmd php composer.phar config --global discard-changes true \
|
||||
&& exec_cmd php composer.phar install -n) \
|
||||
&& exec_cmd php composer.phar install --quiet --no-interaction) \
|
||||
|| ynh_die "Unable to install Movim dependencies."
|
||||
|
||||
# Set Movim database and configuration
|
||||
|
|
|
@ -40,7 +40,7 @@ sudo chmod 400 "${DESTDIR}/config/db.inc.php"
|
|||
|
||||
# Update PHP dependencies using composer
|
||||
(exec_cmd php composer.phar config --global discard-changes true \
|
||||
&& exec_cmd php composer.phar install -n) \
|
||||
&& exec_cmd php composer.phar install --quiet --no-interaction) \
|
||||
|| ynh_die "Unable to update Movim dependencies."
|
||||
|
||||
# Upgrade Movim database as needed
|
||||
|
|
Loading…
Add table
Reference in a new issue