mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
commit
1941a47d8b
3 changed files with 20 additions and 2 deletions
|
@ -62,7 +62,11 @@ ynh_app_setting_set "$app" is_public "$is_public"
|
||||||
# INSTALL DEPENDENCIES
|
# INSTALL DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_install_app_dependencies php5-gd
|
pkg_dependencies=php5-gd
|
||||||
|
if [ "$(lsb_release --codename --short)" != "jessie" ]; then
|
||||||
|
pkg_dependencies="$pkg_dependencies php-zip"
|
||||||
|
fi
|
||||||
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE A MYSQL DATABASE
|
# CREATE A MYSQL DATABASE
|
||||||
|
|
|
@ -55,7 +55,11 @@ test ! -d $final_path \
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Define and install dependencies
|
# Define and install dependencies
|
||||||
ynh_install_app_dependencies php5-gd
|
pkg_dependencies=php5-gd
|
||||||
|
if [ "$(lsb_release --codename --short)" != "jessie" ]; then
|
||||||
|
pkg_dependencies="$pkg_dependencies php-zip"
|
||||||
|
fi
|
||||||
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE NGINX CONFIGURATION
|
# RESTORE THE NGINX CONFIGURATION
|
||||||
|
|
|
@ -116,6 +116,16 @@ ynh_system_user_create "$app"
|
||||||
# Create a dedicated php-fpm config
|
# Create a dedicated php-fpm config
|
||||||
ynh_add_fpm_config
|
ynh_add_fpm_config
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# INSTALL DEPENDENCIES
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
pkg_dependencies=php5-gd
|
||||||
|
if [ "$(lsb_release --codename --short)" != "jessie" ]; then
|
||||||
|
pkg_dependencies="$pkg_dependencies php-zip"
|
||||||
|
fi
|
||||||
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue