adds rudimentary command checks + documents packages to install for alpine

This commit is contained in:
root
2023-12-09 20:10:01 +00:00
parent 2ec0eeefa4
commit 4118b245aa
4 changed files with 41 additions and 5 deletions

View File

@@ -31,6 +31,16 @@ WGET="/usr/bin/wget ${WGET_OPTS[@]}"
# * * * NO MORE CHANGES DOWN HERE * * *
COMMANDS="wget curl grep awk sed"
for COMMAND in $COMMANDS; do
if ! command -v $COMMAND &> /dev/null
then
echo "$COMMAND could not be found!"
exit 1
fi
done
RETVAL=""
touch $COOKIEFILE