problem running install script

3 posts / 0 new
Last post
#1 Fri, 03/11/2011 - 04:44
bradleyh10

problem running install script

Hi.

I've created the install.sh and done the following:

sudo chmod +x install.sh sudo ./install.sh

i then get: export: 22: [: bad variable name

So I tried:

sudo bash install.sh install.sh: line 22: export: [': not a valid identifier install.sh: line 23: syntax error near unexpected tokendo' install.sh: line 23: `"$1" != "" ]; do'

Any ideas? install.sh seems correct. I checked what i wrote and line 22-23 is: log=/root/virtualmin-install.log skipyesno=0 LANG= export LANG while [ "$1" != "" ]; do case $1 in

I'm running Ubuntu 10.04

Thanks for any help, Brad

Fri, 03/11/2011 - 05:04
bradleyh10

solved

there must of been a problem with my install.sh

so i removed it and used wget http://software.virtualmin.com/gpl/scripts/install.sh

and now it works :D

Fri, 03/11/2011 - 08:59
andreychek

Great, I'm glad to hear it's working! Thanks for the update.

-Eric

Topic locked