Kouhei Sutou
null+****@clear*****
Mon Oct 22 11:09:46 JST 2012
Kouhei Sutou 2012-10-22 11:09:46 +0900 (Mon, 22 Oct 2012) New Revision: 22393c158013a78cef88b9ec742a7f07734b1fc5 https://github.com/groonga/gcs/commit/22393c158013a78cef88b9ec742a7f07734b1fc5 Log: debian: use nodejs if it exists Modified files: packages/debian/rules Modified: packages/debian/rules (+5 -0) =================================================================== --- packages/debian/rules 2012-10-22 10:58:04 +0900 (7d5a5b8) +++ packages/debian/rules 2012-10-22 11:09:46 +0900 (887907b) @@ -29,6 +29,11 @@ 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