From 23fb8bf7bee2c39b215778cb19df951c68007288 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 24 Feb 2019 12:05:20 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 36ce2e4..8490bf5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -51,6 +51,17 @@ ynh_clean_setup () { # Exit if an error occurs during the execution of the script ynh_abort_if_errors +#================================================= +# Install dependency to convert tracks to a readable format for the browser +#================================================= + +if [ "$(lsb_release --codename --short)" != "jessie" ] +then + ynh_install_app_dependencies php-sqlite3 +else + ynh_install_app_dependencies php5-sqlite +fi + #================================================= # CHECK THE PATH #=================================================