browser client build/test cont user/berick/wheezy-install-browser-in-progress
authorBill Erickson <berickxx@gmail.com>
Thu, 11 Sep 2014 21:33:36 +0000 (17:33 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 11 Sep 2014 21:33:36 +0000 (17:33 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
installer/wheezy/eg_wheezy_installer.sh

index 419d7db..364a2d0 100755 (executable)
@@ -377,8 +377,16 @@ function test_and_build_eg_browser_client {
     cd /home/opensrf/Evergreen/Open-ILS/web/js/ui/default/staff
     npm install                 # fetch build depencies
     echo Return Value = $?
-    bower --allow-root install  # fetch JS/CSS/etc prereqs
+
+    # fetch JS/CSS/etc prereqs
+    if [ $YES ]; then
+        # yes == allow sending package stats
+        yes | bower --allow-root install  
+    else
+        bower --allow-root install
+    fi
     echo Return Value = $?
+
     grunt build                 # concatentate, minify, copy into place
     echo Return Value = $?
     grunt test                  # run JS unit tests