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:
parent
bda8de0862
commit
2e86c95d40
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue