@@ -61,7 +61,7 @@ fn_dl_steamcmd(){
6161 # If using a specific branch.
6262 if [ -n " ${branch} " ]&& [ -n " ${betapassword} " ]; then
6363 ${unbuffer} ${steamcmdcommand} +login " ${steamuser} " " ${steampass} " +force_install_dir " ${serverfiles} " +app_set_config 90 mod " ${appidmod} " +app_update " ${appid} " -beta " ${branch} " -betapassword " ${betapassword} " ${validate} +quit | uniq | tee -a " ${lgsmlog} " " ${steamcmdlog} "
64- elif [ -n " ${branch} " ]; then
64+ elif [ -n " ${branch} " ]&& [ " ${branch} " != " public " ] ; then
6565 ${unbuffer} ${steamcmdcommand} +login " ${steamuser} " " ${steampass} " +force_install_dir " ${serverfiles} " +app_set_config 90 mod " ${appidmod} " +app_update " ${appid} " -beta " ${branch} " ${validate} +quit | uniq | tee -a " ${lgsmlog} " " ${steamcmdlog} "
6666 else
6767 ${unbuffer} ${steamcmdcommand} +login " ${steamuser} " " ${steampass} " +force_install_dir " ${serverfiles} " +app_set_config 90 mod " ${appidmod} " +app_update " ${appid} " ${validate} +quit | uniq | tee -a " ${lgsmlog} " " ${steamcmdlog} "
@@ -70,7 +70,7 @@ fn_dl_steamcmd(){
7070 elif [ " ${shortname} " == " ac" ]|| [ " ${shortname} " == " jk2" ]; then
7171 if [ -n " ${branch} " ]&& [ -n " ${betapassword} " ]; then
7272 ${unbuffer} ${steamcmdcommand} +@sSteamCmdForcePlatformType windows +login " ${steamuser} " " ${steampass} " +force_install_dir " ${serverfiles} " +app_update " ${appid} " -beta " ${branch} " -betapassword " ${betapassword} " ${validate} +quit | uniq | tee -a " ${lgsmlog} " " ${steamcmdlog} "
73- elif [ -n " ${branch} " ]; then
73+ elif [ -n " ${branch} " ]&& [ " ${branch} " != " public " ] ; then
7474 ${unbuffer} ${steamcmdcommand} +@sSteamCmdForcePlatformType windows +login " ${steamuser} " " ${steampass} " +force_install_dir " ${serverfiles} " +app_update " ${appid} " -beta " ${branch} " ${validate} +quit | uniq | tee -a " ${lgsmlog} " " ${steamcmdlog} "
7575 else
7676 ${unbuffer} ${steamcmdcommand} +@sSteamCmdForcePlatformType windows +login " ${steamuser} " " ${steampass} " +force_install_dir " ${serverfiles} " +app_update " ${appid} " ${validate} +quit | uniq | tee -a " ${lgsmlog} " " ${steamcmdlog} "
@@ -79,7 +79,7 @@ fn_dl_steamcmd(){
7979 else
8080 if [ -n " ${branch} " ]&& [ -n " ${betapassword} " ]; then
8181 ${unbuffer} ${steamcmdcommand} +login " ${steamuser} " " ${steampass} " +force_install_dir " ${serverfiles} " +app_update " ${appid} " -beta " ${branch} " -betapassword " ${betapassword} " ${validate} +quit | uniq | tee -a " ${lgsmlog} " " ${steamcmdlog} "
82- elif [ -n " ${branch} " ]; then
82+ elif [ -n " ${branch} " ]&& [ " ${branch} " != " public " ] ; then
8383 ${unbuffer} ${steamcmdcommand} +login " ${steamuser} " " ${steampass} " +force_install_dir " ${serverfiles} " +app_update " ${appid} " -beta " ${branch} " ${validate} +quit | uniq | tee -a " ${lgsmlog} " " ${steamcmdlog} "
8484 else
8585 ${unbuffer} ${steamcmdcommand} +login " ${steamuser} " " ${steampass} " +force_install_dir " ${serverfiles} " +app_update " ${appid} " ${validate} +quit | uniq | tee -a " ${lgsmlog} " " ${steamcmdlog} "
0 commit comments