xtuple/xtuple — pull request #2050 by lynnaloo (2014-12-04 22:22:47+00:00)
Title: Fixed problems with install script with and without privilege

- Added the `allow-root` flag to the `bower install` to fix the error that occurs when you run `npm install` with privilege
- Added `sudo` and moved the bower global install above this line `sudo chown -R $USER $HOME/.npm` to fix the problem running the install script without privilege.