From 67e0869de25f4f58710c3d30d5533356745ea676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 28 Apr 2020 15:19:35 +0200 Subject: [PATCH] Fix dependance for buster --- scripts/_common.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 0cf1254..e6c0cf9 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -112,7 +112,11 @@ extract_source() { } install_dependance() { - ynh_install_app_dependencies python2.7 python-pip python-setuptools python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev + if [ "$(lsb_release --codename --short)" == "stretch" ]; then + ynh_install_app_dependencies python2.7 python-pip python-setuptools python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev + else + ynh_install_app_dependencies python2.7 python-pip python-setuptools python-simplejson python-pil python-mysqldb python-flup expect python-requests python-dev + fi # Upgrade setuptools for jessie because the new moviepy package is not compatible with setuptools 5.x [ "$(lsb_release --codename --short)" = "jessie" ] && pip install --upgrade setuptools pip install Pillow 'moviepy<1.0' 'imageio<2.8' certifi idna