1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/biboumi_ynh.git synced 2024-09-03 18:15:58 +02:00

Fix jq call

This commit is contained in:
Salamandar 2024-07-01 17:12:05 +02:00
parent e40c0aa0ba
commit f8b6e79711

View file

@ -15,7 +15,7 @@ _get_metronome_config_dir() {
fi fi
# multi_instance=false, there's only one # multi_instance=false, there's only one
metronome_app=$(yunohost app list --json | jq --raw '.apps[] | select(.id == "metronome") | .id') metronome_app=$(yunohost app list --json | jq -r '.apps[] | select(.id == "metronome") | .id')
if (( ${#metronome_apps[@]} == 0 )); then if (( ${#metronome_apps[@]} == 0 )); then
ynh_print_warn --message="Could not find any metronome app!" ynh_print_warn --message="Could not find any metronome app!"
return 1 return 1