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:
parent
2cfac58f25
commit
f6fb20fd77
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ installed_plugins+=" 'contextmenu', 'automatic_addressbook',"
|
|||
|
||||
# Guess with_carddav value if empty
|
||||
if [[ -z "${with_carddav:-}" ]]; then
|
||||
[[ -d "${DESTDIR}/plugins/carddav" ]] \
|
||||
[[ -f "${DESTDIR}/plugins/carddav/config.inc.php" ]] \
|
||||
&& with_carddav=1 \
|
||||
|| with_carddav=0
|
||||
ynh_app_setting_set "$app" with_carddav "$with_carddav"
|
||||
|
|
Loading…
Reference in a new issue