Revert "misc changes"

This reverts commit c3ac5effc9.
This commit is contained in:
Seaswimmer 2023-08-15 02:58:44 -04:00
parent c3ac5effc9
commit 412f124413
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

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