Sfoglia il codice sorgente

fix(fctrserver): allow branches other than the default

Daniel Gibbs 7 anni fa
parent
commit
8378d81670
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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