@@ -61,7 +61,7 @@ fn_dl_steamcmd(){
61
61
# If using a specific branch.
62
62
if [ -n " ${branch} " ]&& [ -n " ${betapassword} " ]; then
63
63
${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
65
65
${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} "
66
66
else
67
67
${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(){
70
70
elif [ " ${shortname} " == " ac" ]|| [ " ${shortname} " == " jk2" ]; then
71
71
if [ -n " ${branch} " ]&& [ -n " ${betapassword} " ]; then
72
72
${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
74
74
${unbuffer} ${steamcmdcommand} +@sSteamCmdForcePlatformType windows +login " ${steamuser} " " ${steampass} " +force_install_dir " ${serverfiles} " +app_update " ${appid} " -beta " ${branch} " ${validate} +quit | uniq | tee -a " ${lgsmlog} " " ${steamcmdlog} "
75
75
else
76
76
${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(){
79
79
else
80
80
if [ -n " ${branch} " ]&& [ -n " ${betapassword} " ]; then
81
81
${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
83
83
${unbuffer} ${steamcmdcommand} +login " ${steamuser} " " ${steampass} " +force_install_dir " ${serverfiles} " +app_update " ${appid} " -beta " ${branch} " ${validate} +quit | uniq | tee -a " ${lgsmlog} " " ${steamcmdlog} "
84
84
else
85
85
${unbuffer} ${steamcmdcommand} +login " ${steamuser} " " ${steampass} " +force_install_dir " ${serverfiles} " +app_update " ${appid} " ${validate} +quit | uniq | tee -a " ${lgsmlog} " " ${steamcmdlog} "
0 commit comments