Просмотр исходного кода

fix(fctrserver): allow branches other than the default

Daniel Gibbs 7 лет назад
Родитель
Сommit
8378d81670
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"
 	downloadbranch="stable"
 elif [ "${branch}" == "experimental" ]; then
 elif [ "${branch}" == "experimental" ]; then
 	downloadbranch="latest"
 	downloadbranch="latest"
+else
+	downloadbranch="${branch}"
 fi
 fi
 
 
 if [ "${installer}" == "1" ]; then
 if [ "${installer}" == "1" ]; then