mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
fix
This commit is contained in:
parent
3ee0399786
commit
171c063d3a
2 changed files with 8 additions and 4 deletions
|
@ -13,6 +13,3 @@ SyslogIdentifier=__APP__
|
|||
PIDFile=/run/movim.pid
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -152,11 +152,18 @@ ynh_store_file_checksum --file="$final_path/config/db.inc.php"
|
|||
# #sudo -u www-data php composer.phar $app:migrate
|
||||
# popd || ynh_die
|
||||
|
||||
# (
|
||||
# cd "$final_path"
|
||||
# export COMPOSER_HOME=$final_path
|
||||
# curl -sS https://getcomposer.org/installer | php -- --install-dir="$final_path" \
|
||||
# && php composer.phar config --global discard-changes true --quiet \
|
||||
# && php composer.phar install --no-interaction --quiet
|
||||
# )
|
||||
|
||||
(
|
||||
cd "$final_path"
|
||||
export COMPOSER_HOME=$final_path
|
||||
curl -sS https://getcomposer.org/installer | php -- --install-dir="$final_path" \
|
||||
&& php composer.phar config --global discard-changes true --quiet \
|
||||
&& php composer.phar install --no-interaction --quiet
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue