Fix apt-get detection

This commit is contained in:
Christian Mäder 2019-10-10 14:51:06 +02:00
parent 5e1865e3c1
commit b40e9ffaaf

View file

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