Fix apt-get detection
This commit is contained in:
parent
fadac8c5c3
commit
052b53aa5c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue