So I wrote this server manager that keeps steamcmd up to date. However the forced directory via “force_install_dir” does not seem to work.
I am calling the shell via the following line with $user “anonymos” and $appid 4020 (gmod dedicated server)
( the scriptpath and steam directories do exist ):
./steamcmd.sh +login $user +force_install_dir $scriptpath/steam +app_update $appid validate +quit
After the server is installed, the steam directory can me located under the root’s home folder ( see below ):
https://s30.postimg.org/py1bi38q5/Capture.png
Do you guys think that the server is ignoring this parameter and why the game is not installed in steamcmd’s root ( scriptpath )