Make sure jq is installed before attempting to use it
This commit is contained in:
parent
811e646945
commit
efc7e2c29c
|
@ -99,6 +99,7 @@
|
|||
"refreshPeriod" $defaultRefresh
|
||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||
|
||||
{{- if lookPath "jq" -}}
|
||||
{{- with $app_name := "eza" -}}
|
||||
{{- with $bin_url := (output "sh" "-c" (
|
||||
list
|
||||
|
@ -134,6 +135,7 @@
|
|||
"executable" true
|
||||
"refreshPeriod" $defaultRefresh
|
||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
# valid arch strings:
|
||||
|
@ -331,4 +333,3 @@
|
|||
executable: true
|
||||
refreshPeriod: "{{ $defaultRefresh }}"
|
||||
{{- end -}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue