scripts/grml-config.sh: check whether wget and/or curl are available and fail on...
authorMichael Prokop <mika@grml.org>
Mon, 19 Feb 2024 15:38:39 +0000 (16:38 +0100)
committerMichael Prokop <mika@grml.org>
Mon, 19 Feb 2024 15:38:39 +0000 (16:38 +0100)
commit1ed59de262202f31818727aa2fbb2dda3ee9326e
tree61391a9a7a6511ea09090d9c3dfaa0b8080575a1
parentf5d13164cfcb89099a65ed202aae063af9b49a1a
scripts/grml-config.sh: check whether wget and/or curl are available and fail on errors

On e.g. OS X wget isn't available but curl is, so check wget
is available, else try curl or otherwise report error.

While at it, fail early and on any error.

See updated version of
https://michael-prokop.at/blog/2007/12/22/make-console-work-comfortable/
scripts/grml-config.sh