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