From 052b53aa5c66b30d267121cdc4a4bd09dd59df34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=A4der?= Date: Thu, 10 Oct 2019 14:51:06 +0200 Subject: [PATCH] Fix apt-get detection --- hooks/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/common b/hooks/common index 92a4724..fcf84a3 100755 --- a/hooks/common +++ b/hooks/common @@ -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