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

Dependency changed to php-imagick for stretch fix

This commit is contained in:
anmol26s 2018-06-10 07:51:22 +05:30
parent 76ab9e0fac
commit 444c0dd68e
3 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ ynh_app_setting_set $app database $database
#================================================= #=================================================
# INSTALL DEPENDENCIES # INSTALL DEPENDENCIES
#================================================= #=================================================
pkg_dependencies="php5-cli php5-imagick php5-gd php5-mcrypt" pkg_dependencies="php5-cli php-imagick php5-gd php5-mcrypt"
if [ "$(lsb_release --codename --short)" != "jessie" ]; then if [ "$(lsb_release --codename --short)" != "jessie" ]; then
pkg_dependencies="$pkg_dependencies php-xml" pkg_dependencies="$pkg_dependencies php-xml"
fi fi

View file

@ -80,7 +80,7 @@ ynh_restore_file "/etc/php5/fpm/conf.d/20-$app.ini"
# REINSTALL DEPENDENCIES # REINSTALL DEPENDENCIES
#================================================= #=================================================
pkg_dependencies="php5-cli php5-imagick php5-gd php5-mcrypt" pkg_dependencies="php5-cli php-imagick php5-gd php5-mcrypt"
if [ "$(lsb_release --codename --short)" != "jessie" ]; then if [ "$(lsb_release --codename --short)" != "jessie" ]; then
pkg_dependencies="$pkg_dependencies php-xml" pkg_dependencies="$pkg_dependencies php-xml"
fi fi

View file

@ -33,7 +33,7 @@ ynh_clean_setup () {
ynh_abort_if_errors ynh_abort_if_errors
# Add Dependencies # Add Dependencies
pkg_dependencies="php5-cli php5-imagick php5-gd php5-mcrypt" pkg_dependencies="php5-cli php-imagick php5-gd php5-mcrypt"
if [ "$(lsb_release --codename --short)" != "jessie" ]; then if [ "$(lsb_release --codename --short)" != "jessie" ]; then
pkg_dependencies="$pkg_dependencies php-xml" pkg_dependencies="$pkg_dependencies php-xml"
fi fi