From e40c0aa0ba00ac758f80830404fbf803fe045fbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 1 Jul 2024 17:10:39 +0200 Subject: [PATCH] Fix jq call --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index d16fb82..494156f 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -15,7 +15,7 @@ _get_metronome_config_dir() { fi # multi_instance=false, there's only one - metronome_app=$(yunohost app list --json | jq '.apps[] | select(.id == "metronome")) | .id') + metronome_app=$(yunohost app list --json | jq --raw '.apps[] | select(.id == "metronome") | .id') if (( ${#metronome_apps[@]} == 0 )); then ynh_print_warn --message="Could not find any metronome app!" return 1