[Pkg-javascript-commits] [node-uglifycss] 04/04: modified debian/install to copy uglifycss and uglifycss-lib.js; created a patch to change 'node' to 'nodejs' in uglifycss
Abhijit A. M.
abhijit13-guest at moszumanska.debian.org
Wed Jan 4 10:08:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
abhijit13-guest pushed a commit to branch master
in repository node-uglifycss.
commit 18451953bc9905bb4efec5769628093dc257ca3d
Author: Abhijit A. M <abhijit13 at gmail.com>
Date: Wed Jan 4 10:00:02 2017 +0000
modified debian/install to copy uglifycss and uglifycss-lib.js; created a patch to change 'node' to 'nodejs' in uglifycss
---
debian/install | 2 ++
debian/patches/fix-executable-name.patch | 10 ++++++++++
debian/patches/series | 1 +
3 files changed, 13 insertions(+)
diff --git a/debian/install b/debian/install
index a5ba5dc..f6698b9 100644
--- a/debian/install
+++ b/debian/install
@@ -1,2 +1,4 @@
index.js usr/lib/nodejs/uglifycss/
package.json usr/lib/nodejs/uglifycss/
+uglifycss usr/lib/nodejs/uglifycss/
+uglifycss-lib.js usr/lib/nodejs/uglifycss/
diff --git a/debian/patches/fix-executable-name.patch b/debian/patches/fix-executable-name.patch
new file mode 100644
index 0000000..73b2782
--- /dev/null
+++ b/debian/patches/fix-executable-name.patch
@@ -0,0 +1,10 @@
+Debian uses nodejs instead of node as executable.
+
+--- a/uglifycss
++++ b/uglifycss
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env node
++#! /usr/bin/env nodejs
+
+ /**
+ * UglifyCSS
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..24ef199
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-executable-name.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-uglifycss.git
More information about the Pkg-javascript-commits
mailing list