Переглянути джерело

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