It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hello,

When trying to install:

$ ./gog_xenonauts_2.1.0.4.sh
/bin/sh: 0: Can't open ./gog_xenonauts_2.1.0.4.sh

Infos:

$ md5sum gog_xenonauts_2.1.0.4.sh
7830dee208e779f97858ee81a97c9327 gog_xenonauts_2.1.0.4.sh

$ head -n 25 gog_xenonauts_2.1.0.4.sh | grep MD5
MD5="5704acf540786d900df3c5b76d217fb9"

So there is mismatch.

$ ls -l gog_xenonauts_2.1.0.4.sh
-rwxr-xr-x 1 fab fab 2642929553 juin 4 19:09 gog_xenonauts_2.1.0.4.sh*

Re-downloaded it but getting the same hash.

Running Debian Buster (Testing 32 bits).
$ uname -r
4.16.0-1-686-pae

Mew
avatar
fabuzz: When trying to install:

$ ./gog_xenonauts_2.1.0.4.sh
/bin/sh: 0: Can't open ./gog_xenonauts_2.1.0.4.sh
Then just use bash:
bash gog_xenonauts_2.1.0.4.sh
avatar
fabuzz: $ md5sum gog_xenonauts_2.1.0.4.sh
7830dee208e779f97858ee81a97c9327 gog_xenonauts_2.1.0.4.sh
This is the correct sum.
Post edited June 04, 2018 by EugVVl
avatar
fabuzz: $ ./gog_xenonauts_2.1.0.4.sh
/bin/sh: 0: Can't open ./gog_xenonauts_2.1.0.4.sh
...
Running Debian Buster (Testing 32 bits).
Known issue/bug with 32-bit DASH. The .sh file is too large. As noted just run it with BASH. The head MD5 is not for the whole .sh file.
Thanks, that does the job!

I'm running fish (not dash).

Prior to this I tried switching to bash with $ bash, but that doesn't seem to set up the environment properly.

Invoking $ bash install_script.sh does work
avatar
fabuzz: Prior to this I tried switching to bash with $ bash, but that doesn't seem to set up the environment properly.

Invoking $ bash install_script.sh does work
No, it wouldn't. The interpreter to use is specified at the start of the installer, #!/bin/sh. Invoking $ bash filename overrides that, if stated, and runs it with BASH regardless.