diff --git a/manifest.json b/manifest.json index fda86fe..c58d25d 100644 --- a/manifest.json +++ b/manifest.json @@ -8,7 +8,7 @@ }, "url": "http://tt-rss.org", "license": "GPL-3.0-only", - "version": "19.2~ynh1", + "version": "19.2~ynh2", "maintainer": { "name": "titoko", "email": "titoko@titoko.fr" diff --git a/scripts/_common.sh b/scripts/_common.sh index d92d1ad..2d28bb4 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -1,5 +1,11 @@ #!/bin/bash +#================================================= +# COMMON VARIABLES +#================================================= + +pkg_dependencies="php-cli php-mbstring php-xml" + #================================================= # EXPERIMENTAL HELPERS #================================================= diff --git a/scripts/install b/scripts/install index 7b6e465..b9332a5 100644 --- a/scripts/install +++ b/scripts/install @@ -6,7 +6,7 @@ # IMPORT GENERIC HELPERS #================================================= -# source _common.sh +source _common.sh source /usr/share/yunohost/helpers #================================================= @@ -53,7 +53,7 @@ ynh_app_setting_set $app path $path_url # INSTALL DEPENDENCIES #================================================= -ynh_install_app_dependencies php5-cli +ynh_install_app_dependencies $pkg_dependencies #================================================= # CREATE A MYSQL DATABASE