Re: Install Error

Hiran Chaudhuri <[email protected]> Thu, 21 Aug 2008 10:44:16 +0200
Newsgroups gmane.comp.sysutils.backup.sarab
Message-ID <1219308256.6862.2.camel@silver>
Am Mittwoch, den 20.08.2008, 10:26 -0500 schrieb Patrick Cantu:
> I try to install SaraB as per website:
> 
> sudo sh install.sh
> 
> That gives the following error:
> 
> : bad variable name
> ./install.sh: 34: Syntax error: "fi" unexpected (expecting "then")

Try to change line 29 to this (check the space before the last word).

if [ "$answer" != "y" ] && [ "$answer" != "Y" ]; then

Maybe you need a similar correction somewhat later in the script.

Hiran



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/