From a1bf20189530c7e44c69e7d74100d2404cadcd1a Mon Sep 17 00:00:00 2001 From: pvincent Date: Wed, 21 Apr 2021 21:53:23 +0400 Subject: [PATCH] fix install /bin/jq --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 7609ea3..ecf56b6 100755 --- a/install.sh +++ b/install.sh @@ -67,7 +67,7 @@ function install_containers { # install inside active LXC containers if [[ -f '/snap/bin/lxc' ]]; then - for container in `lxc list --format=json | jq -r '.[] | select(.state.status == "Running") | .name'`; do + for container in `/snap/bin/lxc list --format=json | /bin/jq -r '.[] | select(.state.status == "Running") | .name'`; do install_one_container $container echo done