Răsfoiți Sursa

Update update_factorio.sh

Specify which version to be downloaded in branch
Issue: https://github.com/GameServerManagers/LinuxGSM/issues/2252
BogdanWDK 7 ani în urmă
părinte
comite
5c1741a5f9
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      lgsm/functions/update_factorio.sh

+ 2 - 0
lgsm/functions/update_factorio.sh

@@ -153,6 +153,8 @@ if [ "${branch}" == "stable" ]; then
 	downloadbranch="stable"
 elif [ "${branch}" == "experimental" ]; then
 	downloadbranch="latest"
+else
+	downloadbranch="${branch}"
 fi
 
 if [ "${installer}" == "1" ]; then