Skip to content

Commit 7979aa4

Browse files
authored
Merge pull request #65 from crajapakshe/main
Fix for missing linux packages and docker-composer check
2 parents bc4321b + e15f9bb commit 7979aa4

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

fetch-validator-status/run.sh

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ if ! isInstalled ${JQ_EXE}; then
6060
- chocolatey install ${JQ_EXE}
6161
MAC:
6262
- brew install ${JQ_EXE}
63+
Debian/Ubuntu:
64+
- sudo apt-get install ${JQ_EXE}
6365
EOF
6466
exit 1
6567
fi

manage

+7-3
Original file line numberDiff line numberDiff line change
@@ -499,12 +499,14 @@ if ! isInstalled ${SED_EXE}; then
499499

500500
cat <<-EOF
501501
The recommended approach to installing the required package(s) is to use either [Homebrew](https://brew.sh/) (MAC)
502-
or [Chocolatey](https://chocolatey.org/) (Windows). For more information visit https://mikefarah.github.io/yq/
502+
or [Chocolatey](https://chocolatey.org/) (Windows) or [GitHub](https://github.com/mirror/sed) (Linux). For more information visit https://www.gnu.org/software/sed/
503503
504504
Windows:
505505
- chocolatey install sed
506506
MAC:
507507
- brew install gnu-sed
508+
Debian/Ubuntu:
509+
- sudo apt-get install sed
508510
EOF
509511
exit 1
510512
fi
@@ -515,12 +517,14 @@ if ! isInstalled ${YQ_EXE}; then
515517

516518
cat <<-EOF
517519
The recommended approach to installing the required package(s) is to use either [Homebrew](https://brew.sh/) (MAC)
518-
or [Chocolatey](https://chocolatey.org/) (Windows). For more information visit https://mikefarah.github.io/yq/
520+
or [Chocolatey](https://chocolatey.org/) (Windows) or [GitHub](https://github.com/mikefarah/yq/) (Linux). For more information visit https://mikefarah.github.io/yq/
519521
520522
Windows:
521523
- chocolatey install ${YQ_EXE}
522524
MAC:
523525
- brew install ${YQ_EXE}
526+
Linux(x86_64):
527+
- wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && chmod +x /usr/bin/yq
524528
EOF
525529
exit 1
526530
fi
@@ -639,4 +643,4 @@ case "${COMMAND}" in
639643
esac
640644

641645
popd >/dev/null
642-
# -----------------------------------------------------------------------------------------------------------------
646+
# -----------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)