mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
commit
221eb623bf
3 changed files with 7 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
|||
"en": "Web-based cross-platform XMPP client",
|
||||
"fr": "Client XMPP multiplateforme basé sur le Web"
|
||||
},
|
||||
"version": "0.18~ynh1",
|
||||
"version": "0.18~ynh2",
|
||||
"url": "https://movim.eu",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"maintainer": {
|
||||
|
|
|
@ -142,8 +142,8 @@ ynh_store_file_checksum --file="$final_path/config/db.inc.php"
|
|||
(
|
||||
cd "$final_path"
|
||||
export COMPOSER_HOME=$final_path
|
||||
curl -sS https://getcomposer.org/installer | php -- --install-dir="$final_path" \
|
||||
&& php"${phpversion}" composer.phar install --no-interaction --quiet
|
||||
curl -sS https://getcomposer.org/installer | php${phpversion} -- --version="1.10.16" --install-dir="$final_path" \
|
||||
&& php${phpversion} composer.phar install --no-interaction
|
||||
)
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -148,9 +148,9 @@ chown -R $app $final_path/src/Movim/Bootstrap.php
|
|||
|
||||
(
|
||||
cd "$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
|
||||
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 install --no-interaction --quiet
|
||||
)
|
||||
|
||||
#=================================================
|
||||
|
@ -159,7 +159,7 @@ chown -R $app $final_path/src/Movim/Bootstrap.php
|
|||
ynh_script_progression --message="Configuring database.." --weight=1
|
||||
(
|
||||
cd "$final_path"
|
||||
ynh_exec_as $app php"${phpversion}" composer.phar movim:migrate
|
||||
ynh_exec_as $app php${phpversion} composer.phar movim:migrate
|
||||
)
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue