From 8951f8d577a2ef7f33b3d94d5a4bfd5641a7183b Mon Sep 17 00:00:00 2001 From: ewilly Date: Fri, 23 Mar 2018 18:16:12 +0100 Subject: [PATCH] Fix ZipArchive --- scripts/_common.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index d7bb99c..4e361bf 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,6 +4,9 @@ # Package dependencies PKG_DEPENDENCIES="php5-curl php5-gd" +if [ "$(lsb_release --codename --short)" != "jessie" ]; then + PKG_DEPENDENCIES="$PKG_DEPENDENCIES php-zip" +fi # Check if directory/file already exists (path in argument) myynh_check_path () {