adds rudimentary command checks + documents packages to install for alpine
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user