[Groonga-commit] droonga/droonga-http-server at 9cd6180 [master] Define install_nodejs()

Back to archive index

KITAITI Makoto null+****@clear*****
Mon Jan 11 18:30:49 JST 2016


KITAITI Makoto	2016-01-11 18:30:49 +0900 (Mon, 11 Jan 2016)

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

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

  Message:
    Define install_nodejs()

  Modified files:
    install.sh

  Modified: install.sh (+7 -0)
===================================================================
--- install.sh    2016-01-11 18:28:41 +0900 (028b713)
+++ install.sh    2016-01-11 18:30:49 +0900 (e29e3e8)
@@ -119,6 +119,13 @@ prepare_user() {
   return 0
 }
 
+install_nodejs() {
+  echo "Installing Node.js $NODE_VERSION $NODE_ARCH..."
+  mkdir $NODEJS_BASE_DIR
+  curl $NODEJS_DOWNLOAD_URL | tar -xz --strip-components 1 -C $NODEJS_BASE_DIR
+  chown -R $USER:$GROUP $NODEJS_BASE_DIR
+}
+
 detect_engine_config() {
   local config_key=$1
   local config_value=""
-------------- next part --------------
HTML����������������������������...
Download 



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