etf installer

Need help with one of the installers?
Coinz

etf installer

Post by Coinz » Wed Nov 15, 2006 22:36

when i try to install etf i get this error:

coinz@coinz:~$ sudo chmod a+x etf_1.6-english-2.run
coinz@coinz:~$ sudo sh etf_1.6-english-2.run
Verifying archive integrity... All good.
Uncompressing ETF: 1.6-english Installer......................................... .......................
./search.sh: 35: Syntax error: Bad substitution

keep in mind i'm a linux newbie

i'm using ubuntu 6.10
Last edited by Coinz on Thu Nov 16, 2006 13:22, edited 2 times in total.

ripntime

ETF

Post by ripntime » Thu Nov 16, 2006 9:45

Do you have ET installed ? as ETF requires it?.
you can find the original game here "http://www.etfgame.com/files/" as well as any other files you might need.

Coinz

Post by Coinz » Thu Nov 16, 2006 13:22

yes i have ET installed and running without any problem

kratz00
liflg member
Posts: 1664
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Sun Nov 19, 2006 19:02

is bash your default shell?

try:
sudo bash etf_1.6-english-2.run

Coinz

Post by Coinz » Sun Nov 19, 2006 23:41

kratz00 wrote:is bash your default shell?
no idea

coinz@coinz:~$ sudo bash etf_1.6-english-2.run
Verifying archive integrity... All good.
Uncompressing ETF: 1.6-english Installer................................................................
./search.sh: 35: Syntax error: Bad substitution

kratz00
liflg member
Posts: 1664
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Mon Nov 20, 2006 23:56

whats the output of

ls -l `type -p sh`

Coinz

Post by Coinz » Tue Nov 21, 2006 3:31

coinz@coinz:~$ ls -l `type -p sh`
lrwxrwxrwx 1 root root 4 2006-11-06 05:27 /bin/sh -> dash

kratz00
liflg member
Posts: 1664
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Tue Nov 21, 2006 19:39

your default shell is not bash, thats the problem

is bash installed at all on your system?

Coinz

Post by Coinz » Wed Nov 22, 2006 3:20

i think so cause synaptic shows it as to be installed

kratz00
liflg member
Posts: 1664
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Wed Nov 22, 2006 19:29

then make bash the default shell on your system :)

Coinz

Post by Coinz » Thu Nov 23, 2006 5:54

in ubuntu forum they don't recommend to change shell to bash so i wont do it tho i tried to edit the installer with vim and changing #!/bin/sh to #!/bin/bash but it still doesn't work :(

Image

kratz00
liflg member
Posts: 1664
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Thu Nov 23, 2006 19:59

not this way

as a workaround do following things:

sh $installer.run --keep --noexec
open search.sh change the first line
and run it afterwards

good luck

lat

Post by lat » Thu Nov 23, 2006 22:44

@Coinz:
Maybe switch to a bash prompt with "$ bash" and then start the installer. After that you can switch back with "$ exit" to your default shell/old prompt?!

Don't want to try because of the size of the installer but I'm interested to know if this is working.

kratz00
liflg member
Posts: 1664
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Fri Nov 24, 2006 0:59

lat wrote:@Coinz:
Maybe switch to a bash prompt with "$ bash" and then start the installer. After that you can switch back with "$ exit" to your default shell/old prompt?!

Don't want to try because of the size of the installer but I'm interested to know if this is working.
sorry, this would not work because the first line of the script search.sh
is this: #!/bin/sh and we all know sh is not a symlink to bash :(

lat

Post by lat » Fri Nov 24, 2006 2:10

You are right. I confused these things.

Locked