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:
parent
e40c0aa0ba
commit
f8b6e79711
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue