If /home/steam/csgo doesn't already exist when a volume is mounted, the mounted volume will default to root ownership and then the steamcmd script won't be able to write/install to it since it runs as the steam user.
This fix creates the directory right before the steam user is made owner.
Fixes #20
If
/home/steam/csgo
doesn't already exist when a volume is mounted, the mounted volume will default to root ownership and then thesteamcmd
script won't be able to write/install to it since it runs as thesteam
user.This fix creates the directory right before the
steam
user is made owner.