diff --git a/update-minetest-linux64.sh b/update-minetest-linux64.sh index 51259f7..ce5f9b8 100755 --- a/update-minetest-linux64.sh +++ b/update-minetest-linux64.sh @@ -28,7 +28,8 @@ else fi MT_BASH_RC_URL=https://raw.githubusercontent.com/poikilos/EnlivenMinetest/master/$MT_BASH_RC_NAME curl $MT_BASH_RC_URL -o "$MT_BASH_RC_PATH" - if [ $? -ne 0 ]; then + #if [ $? -ne 0 ]; then + if [ ! -f "$MT_BASH_RC_PATH" ]; then # This is necessary on cygwin for some reason. curl $MT_BASH_RC_URL > "$MT_BASH_RC_PATH" fi