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:
parent
ec47516838
commit
3a6264939e
|
@ -101,6 +101,8 @@ install_walnut
|
||||||
|
|
||||||
# Install bower, some systems may be missing it, and it is a dependency
|
# Install bower, some systems may be missing it, and it is a dependency
|
||||||
/opt/walnut/bin/npm install -g bower
|
/opt/walnut/bin/npm install -g bower
|
||||||
|
touch /.bowerrc
|
||||||
|
echo '{ "allow_root": true }' > /.bowerrc
|
||||||
|
|
||||||
# Restore PATH to original value
|
# Restore PATH to original value
|
||||||
export PATH=$old_PATH
|
export PATH=$old_PATH
|
||||||
|
|
Loading…
Reference in New Issue