Przeglądaj źródła

Update update_factorio.sh

Specify which version to be downloaded in branch
Issue: https://github.com/GameServerManagers/LinuxGSM/issues/2252
BogdanWDK 7 lat temu
rodzic
commit
5c1741a5f9
1 zmienionych plików z 2 dodań i 0 usunięć
  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