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:
parent
70251445d4
commit
042611b88a
3 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue