[Pkg-javascript-commits] [node-yarnpkg] 05/13: fix the name of the nodejs binary

Paolo Greppi paolog-guest at moszumanska.debian.org
Sat Dec 24 14:36:18 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository node-yarnpkg.

commit 12216f33adb1f36f6559ce01ba793ef136c289cc
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Sat Dec 24 13:25:04 2016 +0000

    fix the name of the nodejs binary
---
 debian/patches/00-nodejs.diff | 22 ++++++++++++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/00-nodejs.diff b/debian/patches/00-nodejs.diff
new file mode 100644
index 0000000..ca5350b
--- /dev/null
+++ b/debian/patches/00-nodejs.diff
@@ -0,0 +1,22 @@
+Description: Fix the name of the nodejs binary.
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-yarnpkg/bin/yarnpkg
+===================================================================
+--- node-yarnpkg.orig/bin/yarnpkg
++++ node-yarnpkg/bin/yarnpkg
+@@ -1,2 +1,2 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ require('./yarn.js');
+Index: node-yarnpkg/bin/yarn.js
+===================================================================
+--- node-yarnpkg.orig/bin/yarn.js
++++ node-yarnpkg/bin/yarn.js
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ 
+ /* eslint-disable no-var */
+ /* eslint-disable flowtype/require-valid-file-annotation */
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8390d98
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-nodejs.diff

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



More information about the Pkg-javascript-commits mailing list