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

[fix] Improve CardDAV plugin detection at upgrade (it's always copied)

This commit is contained in:
Jérôme Lebleu 2016-05-19 21:49:07 +02:00
parent 2cfac58f25
commit f6fb20fd77

View file

@ -84,7 +84,7 @@ installed_plugins+=" 'contextmenu', 'automatic_addressbook',"
# Guess with_carddav value if empty # Guess with_carddav value if empty
if [[ -z "${with_carddav:-}" ]]; then if [[ -z "${with_carddav:-}" ]]; then
[[ -d "${DESTDIR}/plugins/carddav" ]] \ [[ -f "${DESTDIR}/plugins/carddav/config.inc.php" ]] \
&& with_carddav=1 \ && with_carddav=1 \
|| with_carddav=0 || with_carddav=0
ynh_app_setting_set "$app" with_carddav "$with_carddav" ynh_app_setting_set "$app" with_carddav "$with_carddav"