From d617d4c8995c18c5e42307997d264e48fde79c26 Mon Sep 17 00:00:00 2001 From: ewilly Date: Mon, 18 Jun 2018 22:50:50 +0200 Subject: [PATCH] Fix bozon-ynh-deps for stretch --- scripts/_common.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 8d5af50..2a403fd 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -3,9 +3,10 @@ # # Package dependencies -PKG_DEPENDENCIES="php5-curl php5-gd" if [ "$(lsb_release --codename --short)" != "jessie" ]; then - PKG_DEPENDENCIES="$PKG_DEPENDENCIES php-zip" + PKG_DEPENDENCIES="$PKG_DEPENDENCIES php-zip php-curl php-gd" +else + PKG_DEPENDENCIES="$PKG_DEPENDENCIES php5-curl php5-gd" fi # Check if directory/file already exists (path in argument)