1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/roundcube_ynh.git synced 2024-09-03 20:16:28 +02:00

Add dependencies only for stretch

php-gd php-mbstring are not available on jessie
This commit is contained in:
Maniack Crudelis 2018-06-23 15:41:18 +02:00 committed by GitHub
parent f2d838d6c6
commit 221e55635c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,9 +5,9 @@
# ============================================================================= # =============================================================================
# Package dependencies # Package dependencies
pkg_dependencies="php5-cli php5-common php5-intl php5-json php5-mcrypt php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 php-net-smtp php-net-socket php-net-ldap2 php-net-ldap3 php-gd php-mbstring" pkg_dependencies="php5-cli php5-common php5-intl php5-json php5-mcrypt php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 php-net-smtp php-net-socket php-net-ldap2 php-net-ldap3"
if [ "$(lsb_release --codename --short)" != "jessie" ]; then if [ "$(lsb_release --codename --short)" != "jessie" ]; then
pkg_dependencies="$pkg_dependencies php-zip" pkg_dependencies="$pkg_dependencies php-zip php-gd php-mbstring"
else else
pkg_dependencies="$pkg_dependencies php-crypt-gpg" pkg_dependencies="$pkg_dependencies php-crypt-gpg"
fi fi