From c72532be340aaaa36c8aaac301aed4a51de12c84 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 8 Mar 2018 16:06:01 +0100 Subject: [PATCH 1/3] Fix stretch --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index f4085a7..8614912 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -3,7 +3,7 @@ # COMMON VARIABLES #================================================= -pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-redis php5-ldap php5-imagick imagemagick acl tar smbclient" +pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-redis php5-ldap php5-zip php5-imagick imagemagick acl tar smbclient" #================================================= # COMMON HELPERS From 06463a4ed276af3622cc885a11ae198bf06da906 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Sat, 10 Mar 2018 13:48:58 +0100 Subject: [PATCH 2/3] Add php-zip only for stretch --- scripts/_common.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 8614912..611696a 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -3,7 +3,11 @@ # COMMON VARIABLES #================================================= -pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-redis php5-ldap php5-zip php5-imagick imagemagick acl tar smbclient" +pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-redis php5-ldap php5-imagick imagemagick acl tar smbclient" + +if [ "$(lsb_release --codename --short)" == "stretch" ]; then + pkg_dependencies="$pkg_dependencies php-zip" +fi #================================================= # COMMON HELPERS From 465049e6b30f897b6e5f517feb2d37b0b971e449 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Fri, 13 Apr 2018 17:32:38 +0200 Subject: [PATCH 3/3] php-zip if not jessie --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 611696a..7a7b3b9 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-redis php5-ldap php5-imagick imagemagick acl tar smbclient" -if [ "$(lsb_release --codename --short)" == "stretch" ]; then +if [ "$(lsb_release --codename --short)" != "jessie" ]; then pkg_dependencies="$pkg_dependencies php-zip" fi