[Groonga-commit] droonga/droonga-http-server at aee6ae6 [master] Install Node.js only when neccessary

Back to archive index

KITAITI Makoto null+****@clear*****
Mon Jan 11 19:33:34 JST 2016


KITAITI Makoto	2016-01-11 19:33:34 +0900 (Mon, 11 Jan 2016)

  New Revision: aee6ae68000108e0b2e48c0dd094f32a5f5b9028
  https://github.com/droonga/droonga-http-server/commit/aee6ae68000108e0b2e48c0dd094f32a5f5b9028

  Merged 0f9441b: Merge pull request #13 from KitaitiMakoto/systemd

  Message:
    Install Node.js only when neccessary

  Modified files:
    install.sh

  Modified: install.sh (+3 -1)
===================================================================
--- install.sh    2016-01-11 19:33:19 +0900 (e836a16)
+++ install.sh    2016-01-11 19:33:34 +0900 (9e61c22)
@@ -349,7 +349,9 @@ install() {
 
   prepare_user
 
-  install_nodejs
+  if [ ! -e $NODEJS_COMMAND ] || [ $($NODEJS_COMMAND --version) != "$NODEJS_VERSION" ]; then
+    install_nodejs
+  fi
 
   echo ""
   if [ "$VERSION" != "release" ]; then
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index