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 token
do’
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