pyc-website
main website for pyc inc.
git clone https://9o.is/git/pyc-website.git
commit 0a8684351b9a0cd5d86f1c28615c6ef4293a980e parent d697048c93780c92929666b77022e1c6f13ff336 Author: Jul <jul@9o.is> Date: Fri, 2 May 2014 16:19:06 -0400 modified setup.sh Diffstat:
| M | setup.sh | | | 10 | ++++++---- |
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/setup.sh b/setup.sh @@ -1,10 +1,12 @@ #!/bin/bash -# Make sure only root can run our script -if [[ $EUID -ne 0 ]]; then - echo "This script must be run as root" 1>&2 +# Make sure non-root can only run our script +if [[ $EUID -eq 0 ]]; then + echo "This script must be run as non-root" 1>&2 exit 1 fi # ... -npm install grunt grunt-cli bower grunt-contrib-jshint grunt-contrib-concat grunt-contrib-copy grunt-contrib-uglify grunt-contrib-less grunt-contrib-jasmine grunt-contrib-watch grunt-contrib-clean grunt-hash +sudo npm install grunt grunt-cli bower grunt-contrib-jshint grunt-contrib-concat grunt-contrib-copy grunt-contrib-uglify grunt-contrib-less grunt-contrib-jasmine grunt-contrib-watch grunt-contrib-clean grunt-hash + +bower install jquery jasmine-jquery