[Pkg-javascript-commits] [node-async] 349/480: Unset executable bit on library files.

Jonas Smedegaard js at moszumanska.debian.org
Fri May 2 08:58:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-async.

commit 4261124c9b71d497e357d6194e5e73738132e4bf
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Aug 15 11:54:30 2013 +0200

    Unset executable bit on library files.
---
 debian/rules | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 1d29221..ec9049a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,7 +50,7 @@ js-stems = $(libname)
 js-min = $(js-stems:%=debian/%.min.js)
 js-destdir = /usr/share/javascript/$(libdirname)
 
-node-destdir = /usr/lib/nodejs/
+node-destdir = /usr/lib/nodejs
 
 DEB_DH_INSTALL_ARGS_DEFAULT = $(js-stems:%=$(js-basedir)%.js) debian/*.min.js $(js-destdir)
 DEB_DH_INSTALL_ARGS_$(nodepkgname) = $(js-stems:%=$(js-basedir)%.js) $(node-destdir)
@@ -60,3 +60,9 @@ $(js-min): debian/%.min.js: $(js-basedir)%.js
 	$(js-compressor) -o $@ $<
 clean::
 	rm -f debian/*.js
+
+# Unset executable bit on library files
+binary-post-install/$(nodepkgname)::
+	chmod -x debian/$(cdbs_curpkg)$(node-destdir)/*
+binary-post-install/$(libpkgname)::
+	chmod -x debian/$(cdbs_curpkg)$(js-destdir)/*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-async.git



More information about the Pkg-javascript-commits mailing list