[Pkg-javascript-commits] [node-millstone] 03/10: Install millstone executable
Jérémy Lal
kapouer at alioth.debian.org
Fri Oct 25 21:34:11 UTC 2013
This is an automated email from the git hooks/post-receive script.
kapouer pushed a commit to branch master
in repository node-millstone.
commit 2d5ad8a6c57020c64f0bdb066a3a2c92b8065a11
Author: Jérémy Lal <kapouer at melix.org>
Date: Fri Oct 25 23:29:25 2013 +0200
Install millstone executable
---
debian/links | 2 +-
debian/rules | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/links b/debian/links
index e2d9ae5..2f8eaa6 100644
--- a/debian/links
+++ b/debian/links
@@ -1 +1 @@
-usr/lib/nodejs/millstone/millstone.js usr/lib/nodejs/millstone/index.js
+usr/lib/nodejs/millstone/bin/millstone usr/bin/millstone
diff --git a/debian/rules b/debian/rules
index 218df65..ea80984 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,3 +6,8 @@
%:
dh $@
+
+override_dh_install:
+ dh_install
+ sed -i '1c#!/usr/bin/nodejs' $(CURDIR)/debian/node-millstone/usr/lib/nodejs/millstone/bin/millstone
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-millstone.git
More information about the Pkg-javascript-commits
mailing list