Update install.sh to configure `bower` to allow usage under the root account, such as on single user systems such as our own.

This commit is contained in:
richdex14 2017-09-08 11:34:04 -06:00
parent ec47516838
commit 3a6264939e
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ install_walnut
# Install bower, some systems may be missing it, and it is a dependency
/opt/walnut/bin/npm install -g bower
touch /.bowerrc
echo '{ "allow_root": true }' > /.bowerrc
# Restore PATH to original value
export PATH=$old_PATH