mirror of
https://github.com/mkschreder/juci.git
synced 2025-01-07 03:16:39 +08:00
cleanup and update bootstrap.sh and ubuntu-bootstrap.sh
This commit is contained in:
parent
312b33684d
commit
4d1ba5e561
@ -34,6 +34,11 @@ if [ "$(which lessc)" == "" ]; then
|
||||
ERR=1
|
||||
fi
|
||||
|
||||
if [ "$(which msguniq)" == "" ]; then
|
||||
perr "!!! msguniq (gettext utility) is missing. Please install gettext package for compiling localization files!"
|
||||
ERR=1
|
||||
fi
|
||||
|
||||
if [ "$ERR" == "1" ]; then
|
||||
if [ "$(whoami)" != "root" ]; then
|
||||
perr "JUCI build dependencies are missing!."
|
||||
|
@ -5,11 +5,8 @@ if [ "$(whoami)" != "root" ]; then
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
apt-get install npm nodejs yui-compressor
|
||||
apt-get install npm nodejs yui-compressor gettext
|
||||
npm install
|
||||
npm install -g grunt-cli
|
||||
npm install -g mocha
|
||||
npm install -g bower
|
||||
npm install -g uglify-js
|
||||
npm install -g less
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user