From a5c0ecbdaf6a38fc2e4b09cee8a75cb96978bec4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 2 Nov 2020 23:19:30 +0100 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 6736c01..fbef548 100644 --- a/scripts/install +++ b/scripts/install @@ -159,7 +159,7 @@ then # Look for installed and supported CardDAV servers for carddav_app in "nextcloud" "baikal" 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) if [ -n "$carddav_app_id" ] then