Browse Source

fix install /bin/jq

master
pvincent 4 years ago
parent
commit
3607cf4e57
  1. 4
      install.sh

4
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

Loading…
Cancel
Save