1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00

Merge pull request #71 from plopoyop/master

add missing dependencies
This commit is contained in:
JimboJoe 2018-08-02 21:08:55 +02:00 committed by GitHub
commit 458dd7336c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 12 deletions

View file

@ -3,3 +3,8 @@
# Common variables
#
if [ "$(lsb_release --codename --short)" == "jessie" ]; then
pkg_dependencies="php5-gd"
else
pkg_dependencies="php-gd php-zip php-dom php-mbstring"
fi

View file

@ -62,10 +62,6 @@ ynh_app_setting_set "$app" is_public "$is_public"
# 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
#=================================================

View file

@ -55,10 +55,6 @@ test ! -d $final_path \
#=================================================
# Define and 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
#=================================================

View file

@ -120,10 +120,6 @@ 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
#=================================================