update scripts folder

Change steamcmd recommended to debian-buster-slim
Update release grabber with curly braces on variables (readability).
Add script for validating that download links actually exist with no errors.
update gitignore.
This commit is contained in:
Michael Parker
2019-12-29 17:54:25 -05:00
parent 2c79554c55
commit 5805ab86c0
4 changed files with 23 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
## this is a simple script to validate a download url actaully exists
if [ ! -z "${DOWNLOAD_URL}"]; then
if curl --output /dev/null --silent --head --fail ${DOWNLOAD_URL}; then
echo -e "link is valid. setting download link to ${DOWNLOAD_URL}"
DOWNLOAD_LINK=${DOWNLOAD_URL}
else
echo -e "link is invalid closing out"
exit 2
fi
fi