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

Update install

This commit is contained in:
ericgaspar 2020-11-02 23:19:30 +01:00
parent ae62264cd5
commit a5c0ecbdaf
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -159,7 +159,7 @@ then
# Look for installed and supported CardDAV servers # Look for installed and supported CardDAV servers
for carddav_app in "nextcloud" "baikal" for carddav_app in "nextcloud" "baikal"
do do
carddav_app_id=$(yunohost app list --installed -f $carddav_app \ carddav_app_id=$(yunohost app list | grep -q 'id: $carddav_app' \
--output-as json | grep -Po '"id":[ ]?"\K.*?(?=")' | head -1) --output-as json | grep -Po '"id":[ ]?"\K.*?(?=")' | head -1)
if [ -n "$carddav_app_id" ] if [ -n "$carddav_app_id" ]
then then