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 #=================================================