message output

This commit is contained in:
Marcus 2022-09-11 17:45:41 +02:00
parent d1ad1eae6b
commit 4ae9ee2c66

View file

@ -272,7 +272,7 @@ quit" > $XASH_BUILD_DIR/steam/hlds.install
checkerror $? checkerror $?
## run half-life download from steam server with steamcmd ## run half-life download from steam server with steamcmd
## If grep find Error then fetch the hlds zip from github ## If grep find Error then fetch the hlds zip from github
message info "downloading gamedata with steamcmd from valve" message info "downloading gamedata with steamcmd from valve - this takes a while"
if ./steamcmd.sh +runscript hlds.install | grep Error if ./steamcmd.sh +runscript hlds.install | grep Error
then then
message warn "${YELLOW}!!${ENDCOLOR} There was an error fetching Half-Life with steamcmd. Fallback download it from github ${YELLOW}!!${ENDCOLOR}" message warn "${YELLOW}!!${ENDCOLOR} There was an error fetching Half-Life with steamcmd. Fallback download it from github ${YELLOW}!!${ENDCOLOR}"