-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
After the Space Age (didn't used it before), it installation don't work, because of a small change:
location: https://dl.factorio.com/releases/2.0.11_XXXXXX/factorio-headless_linux_2.0.11.tar.xz?secure=XXXXX
factorio_headless_linux became factorio-headless_linux
I don't know if the change would be effective for 0.X and 1.X then i just made it to match both - and _
Here is the patch made for it:
diff --git a/factorio b/factorio
index 3fb7ad3..0ab5568 100755
--- a/factorio
+++ b/factorio
@@ -483,7 +483,7 @@ function install(){
fi
# parse the response
- if filename=$(echo "${httpresponse}" |grep -oP '(?<=^location: )[^\?]+' |grep -oP 'factorio_headless.+'); then
+ if filename=$(echo "${httpresponse}" |grep -oP '(?<=^location: )[^\?]+' |grep -oP 'factorio[-_]headless.+'); then
debug "Found, latest version: '${filename}'"
else
debug "${httpresponse}"
Metadata
Metadata
Assignees
Labels
No labels