1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galette_ynh.git synced 2024-09-03 18:36:28 +02:00

Fix dependencies

This commit is contained in:
yalh76 2022-04-14 19:39:41 +02:00
parent 70251445d4
commit 042611b88a
3 changed files with 12 additions and 2 deletions

View file

@ -60,7 +60,7 @@ ynh_script_progression --message="Installing dependencies..." --weight=20
if [ $database == "pgsql" ]
then
pkg_dependencies="$pkg_dependencies pgsql_pkg_dependencies"
pkg_dependencies="$pkg_dependencies $pgsql_pkg_dependencies"
fi
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies

View file

@ -84,6 +84,11 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
ynh_script_progression --message="Reinstalling dependencies..." --weight=6
# Define and install dependencies
if [ $database == "pgsql" ]
then
pkg_dependencies="$pkg_dependencies $pgsql_pkg_dependencies"
fi
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
#=================================================

View file

@ -127,7 +127,12 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Upgrading dependencies..." --weight=1
ynh_install_app_dependencies $pkg_dependencies
if [ $database == "pgsql" ]
then
pkg_dependencies="$pkg_dependencies $pgsql_pkg_dependencies"
fi
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
#=================================================
# PHP-FPM CONFIGURATION