1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

dependencies depends of os version

This commit is contained in:
Clément 2018-09-23 15:10:36 +02:00
parent bda8de0862
commit 2e86c95d40

View file

@ -13,6 +13,12 @@ FRESHRSS_SOURCE_URL="https://github.com/FreshRSS/FreshRSS/archive/1.11.1.tar.gz"
PKGDIR=$(cd ../; pwd) PKGDIR=$(cd ../; pwd)
if [ "$(lsb_release --codename --short)" == "jessie" ]; then
pkg_dependencies="php5-gd"
else
pkg_dependencies="php-gd php-zip php-dom php-mbstring"
fi
# #
# Common helpers # Common helpers
# #
@ -33,5 +39,5 @@ extract_freshrss() {
} }
install_freshrss_dependencies() { install_freshrss_dependencies() {
ynh_install_app_dependencies php-cli php-gmp php-curl php-zip ynh_install_app_dependencies $pkg_dependencies
} }