Fix apt-get detection

This commit is contained in:
Christian Mäder 2019-10-10 14:51:06 +02:00 committed by Christian Mäder
parent fadac8c5c3
commit 052b53aa5c
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
ensure_jq() {
if [ ! -x "$(command -v jq)" ]; then
if [ ! -x "$(command -v apt-get)" ]; then
if [ -x "$(command -v apt-get)" ]; then
echo "🛠🛠🛠 Installing 'jq' via 'apt-get'"
apt-get update && apt-get install -y jq
else