misc changes
This commit is contained in:
parent
597e42b8c4
commit
c3ac5effc9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue