From 21aa5d4546ada76533aa7cb55c3da1fd2dcdd2a2 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 20 May 2018 14:02:31 +0200 Subject: [PATCH] [fix] Stretch --- scripts/install | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 2e30b76..d749062 100644 --- a/scripts/install +++ b/scripts/install @@ -53,7 +53,12 @@ ynh_app_setting_set $app is_public $is_public # Install dependency to convert tracks to a readable format for the browser #================================================= -ynh_install_app_dependencies php5-sqlite +if [ "$(lsb_release --codename --short)" != "jessie" ] +then + ynh_install_app_dependencies php7.0-sqlite3 +else + ynh_install_app_dependencies php5-sqlite +fi #================================================= # CREATE DEDICATED USER