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