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