From 5c1741a5f9a62f07a9770becee77837063aa28a7 Mon Sep 17 00:00:00 2001 From: BogdanWDK Date: Tue, 2 Apr 2019 13:15:40 +0100 Subject: [PATCH] Update update_factorio.sh Specify which version to be downloaded in branch Issue: https://github.com/GameServerManagers/LinuxGSM/issues/2252 --- lgsm/functions/update_factorio.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lgsm/functions/update_factorio.sh b/lgsm/functions/update_factorio.sh index d01013224..cde4b35e6 100644 --- a/lgsm/functions/update_factorio.sh +++ b/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