mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
commit
458dd7336c
4 changed files with 5 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue