* Setting up fog user./installfog.sh: 296: Bad substitution
-
Hi folks. Trying to setup a fog storage node on Ubuntu 10.04.4 but not getting far!
Originally tried on 12.04 and had this error towards the end of the script:
[CODE] * Checking package: lftp…OK
- Checking package: php-gettext…OK
Configuring services.
- Setting up fog user./installfog.sh: 296: Bad substitution
[/CODE]
Found a forum thread on here with the same problem, the guy went back to 10.04 from 11.10 so I also went back to 10.04 and have the same problem.
Any suggestions? Would love to get this going ASAP!
Cheers
-
Sorted this out, the problem was I was running the script with sudo sh ./installfog.sh
Needs to be sudo bash ./installfog.sh