misc changes

This commit is contained in:
Seaswimmer 2023-08-15 02:55:00 -04:00
parent 597e42b8c4
commit c3ac5effc9
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -46,7 +46,7 @@ else
fi fi
# Check if the last downloaded version matches the current version # Check if the last downloaded version matches the current version
if [ "$last_downloaded_version" != "$version" ] || [ "$last_downloaded_version" = "stable" ] || [ "$last_downloaded_version" = "latest" ]; then if [ "$last_downloaded_version" != "$version" ] || [ "$version" = "stable" ] || [ "$version" = "latest" ]; then
echo "Fetching Factorio binary..." echo "Fetching Factorio binary..."
wget "https://factorio.com/get-download/${version}/headless/linux64" -O factorio_headless.tar.xz wget "https://factorio.com/get-download/${version}/headless/linux64" -O factorio_headless.tar.xz
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then