* 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
- Setting up fog user./installfog.sh: 296: Bad substitution
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!
Sorted this out, the problem was I was running the script with sudo sh ./installfog.sh
Needs to be sudo bash ./installfog.sh