mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Silence warnings
This commit is contained in:
parent
2014782e9d
commit
5085e704e2
3 changed files with 5 additions and 5 deletions
|
@ -67,7 +67,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port
|
||||||
ynh_script_progression --message="Installing dependencies..." --weight=1
|
ynh_script_progression --message="Installing dependencies..." --weight=1
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE A POSTGRESQL DATABASE
|
# CREATE A POSTGRESQL DATABASE
|
||||||
|
@ -141,7 +141,7 @@ ynh_store_file_checksum --file="$final_path/config/db.inc.php"
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
export COMPOSER_HOME=$final_path
|
export COMPOSER_HOME=$final_path
|
||||||
curl -sS https://getcomposer.org/installer | php${phpversion} -- --version="1.10.16" --install-dir="$final_path" \
|
ynh_exec_warn_less curl -sS https://getcomposer.org/installer | php${phpversion} -- --version="1.10.16" --install-dir="$final_path" \
|
||||||
&& php${phpversion} composer.phar install --no-interaction
|
&& php${phpversion} composer.phar install --no-interaction
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
|
@ -90,7 +90,7 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||||
ynh_script_progression --message="Reinstalling dependencies..." --weight=2
|
ynh_script_progression --message="Reinstalling dependencies..." --weight=2
|
||||||
|
|
||||||
# Define and install dependencies
|
# Define and install dependencies
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE POSTGRESQL DATABASE
|
# RESTORE THE POSTGRESQL DATABASE
|
||||||
|
|
|
@ -107,7 +107,7 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading dependencies..." --weight=4
|
ynh_script_progression --message="Upgrading dependencies..." --weight=4
|
||||||
|
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE DEDICATED USER
|
# CREATE DEDICATED USER
|
||||||
|
@ -146,7 +146,7 @@ yunohost service add $app --description="Responsive web-based XMPP client" --log
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
curl -sS https://getcomposer.org/installer | php$phpversion -- --version="1.10.16" --install-dir="$final_path" \
|
ynh_exec_warn_less 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 config --global discard-changes true --quiet \
|
||||||
&& php$phpversion composer.phar install --no-interaction --quiet
|
&& php$phpversion composer.phar install --no-interaction --quiet
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Reference in a new issue