From 221e55635c6a56dc1c8e67edef2f16b6027ad1d9 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Sat, 23 Jun 2018 15:41:18 +0200 Subject: [PATCH] Add dependencies only for stretch php-gd php-mbstring are not available on jessie --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index ade4f1a..959dc15 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,9 +5,9 @@ # ============================================================================= # Package dependencies -pkg_dependencies="php5-cli php5-common php5-intl php5-json php5-mcrypt php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 php-net-smtp php-net-socket php-net-ldap2 php-net-ldap3 php-gd php-mbstring" +pkg_dependencies="php5-cli php5-common php5-intl php5-json php5-mcrypt php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 php-net-smtp php-net-socket php-net-ldap2 php-net-ldap3" if [ "$(lsb_release --codename --short)" != "jessie" ]; then - pkg_dependencies="$pkg_dependencies php-zip" + pkg_dependencies="$pkg_dependencies php-zip php-gd php-mbstring" else pkg_dependencies="$pkg_dependencies php-crypt-gpg" fi