[Pkg-javascript-commits] [node-keygrip] 38/68: make it work on both Debian versions and other versions

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Fri Jun 27 22:13:26 UTC 2014


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

andrewrk-guest pushed a commit to branch master
in repository node-keygrip.

commit 874c1b25a3473fd72a842176fa83903113c9d382
Author: Jon Watte <jwatte at gmail.com>
Date:   Fri Sep 6 10:20:03 2013 -0700

    make it work on both Debian versions and other versions
---
 defaultKeys.json | 1 +
 package.json     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/defaultKeys.json b/defaultKeys.json
new file mode 100644
index 0000000..66269d9
--- /dev/null
+++ b/defaultKeys.json
@@ -0,0 +1 @@
+["227ec387fdd1658aede3c37b251079c4"]
\ No newline at end of file
diff --git a/package.json b/package.json
index a84687d..c26bb16 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
   "version": "0.2.3",
   "description": "Key signing and verification for rotated credentials",
   "scripts": {
-    "install": "nodejs ./install.js"
+    "install": "[ -x /usr/bin/nodejs ] && /usr/bin/nodejs ./install.js || node ./install.js"
   },
   "repository": {
     "type": "git",

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



More information about the Pkg-javascript-commits mailing list