Browse Source

Removed variable from Factorio headless server request as it currently returns 404, but targets the right directory and files without it

pull/1719/head
fanuch 7 years ago
parent
commit
2a3103f4ae
  1. 2
      lgsm/functions/update_factorio.sh

2
lgsm/functions/update_factorio.sh

@ -76,7 +76,7 @@ fn_update_factorio_arch(){
fn_update_factorio_availablebuild(){
# Gets latest build info.
availablebuild=$(curl -s https://www.factorio.com/download-headless/"${branch}" | grep 'headless/linux64' | head -n 1 | grep -oP '(?<=get-download/).*?(?=/)')
availablebuild=$(curl -s https://www.factorio.com/download-headless | grep 'headless/linux64' | head -n 1 | grep -oP '(?<=get-download/).*?(?=/)')
sleep 1
# Checks if availablebuild variable has been set

Loading…
Cancel
Save