From 3607cf4e5742ab7f206d498823d79013ca6ba24f Mon Sep 17 00:00:00 2001 From: pvincent Date: Wed, 21 Apr 2021 22:04:17 +0400 Subject: [PATCH] fix install /bin/jq --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 9f5bf55..fe9b985 100755 --- a/install.sh +++ b/install.sh @@ -16,8 +16,8 @@ function install_host { [ `id -u` -ne 0 ] && echo 'root privilege required' && exit 1 # required packages jq - dpkg-query --status jq - [ $? -ne 0 ] && sudo apt install -y jq + /usr/bin/dpkg-query --status jq + [ $? -ne 0 ] && /usr/bin/apt install -y jq if [[ ! $BASEDIR == '/opt/debian-bash' ]]; then