mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-12-27 09:08:58 +01:00
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
Block a user