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}"