1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Fix Debian Stretch dependencies by installing php-apcu, php-mbstring and php-xml

This commit is contained in:
Jimmy Monin 2018-05-14 19:37:40 +02:00
parent 17e6ea7d42
commit 1cdb9ea161

View file

@ -6,7 +6,7 @@
pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-redis php5-ldap php5-imagick imagemagick acl tar smbclient" pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-redis php5-ldap php5-imagick imagemagick acl tar smbclient"
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-apcu php-mbstring php-xml"
fi fi
#================================================= #=================================================
@ -139,7 +139,7 @@ ynh_handle_app_migration () {
fi fi
#================================================= #=================================================
# CHECK IF IT HAS TO MIGRATE # CHECK IF IT HAS TO MIGRATE
#================================================= #=================================================
migration_process=0 migration_process=0
@ -209,7 +209,7 @@ ynh_handle_app_migration () {
new_label=$(echo $new_app_id | cut -c1 | tr [:lower:] [:upper:])$(echo $new_app_id | cut -c2-) new_label=$(echo $new_app_id | cut -c1 | tr [:lower:] [:upper:])$(echo $new_app_id | cut -c2-)
ynh_app_setting_set $new_app label $new_label ynh_app_setting_set $new_app label $new_label
fi fi
#================================================= #=================================================
# MOVE FILES TO THE NEW DESTINATION # MOVE FILES TO THE NEW DESTINATION
#================================================= #=================================================