소스 검색

Update update_factorio.sh

Specify which version to be downloaded in branch
Issue: https://github.com/GameServerManagers/LinuxGSM/issues/2252
BogdanWDK 7 년 전
부모
커밋
5c1741a5f9
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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