> Line 468: rm -rf "$STEAMROOT/"*
Without a check for $STEAMROOT validity. I'm not sure you couldn't sue Valve for the incredible recklessness. That is just beyond the pale.