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