From fcf53b058047df9238ab9fdb6f46124b8c320f30 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 2 Nov 2020 23:37:55 +0100 Subject: [PATCH] Revert "Update install" This reverts commit a5c0ecbdaf6a38fc2e4b09cee8a75cb96978bec4. --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index fbef548..6736c01 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 | grep -q 'id: $carddav_app' \ + carddav_app_id=$(yunohost app list --installed -f $carddav_app \ --output-as json | grep -Po '"id":[ ]?"\K.*?(?=")' | head -1) if [ -n "$carddav_app_id" ] then