[Groonga-commit] groonga/gcs-console [master] debian: add node command name workaround

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Dec 26 11:33:22 JST 2012


Kouhei Sutou	2012-12-26 11:33:22 +0900 (Wed, 26 Dec 2012)

  New Revision: 9cbf6a52219ccf999ece88c67417727342b93826
  https://github.com/groonga/gcs-console/commit/9cbf6a52219ccf999ece88c67417727342b93826

  Log:
    debian: add node command name workaround

  Modified files:
    packages/debian/rules

  Modified: packages/debian/rules (+6 -0)
===================================================================
--- packages/debian/rules    2012-12-26 11:18:25 +0900 (23ee2a7)
+++ packages/debian/rules    2012-12-26 11:33:22 +0900 (68b7a59)
@@ -26,6 +26,12 @@ INSTALL_PATHS =					\
 DESTDIR = debian/tmp
 
 override_dh_install:
+	npm install --production node-gyp
+	if [ -x /usr/bin/nodejs ]; then			\
+	  sed -i'' -e '1 s/ node$$/ nodejs/'		\
+	    node_modules/node-gyp/bin/node-gyp.js;	\
+	fi
+
 	npm install --production forever
 	npm install --production
 
-------------- next part --------------
HTML����������������������������...
Download 



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