You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2012/10/25 01:36:44 UTC

[2/2] git commit: adding notice regarding permissions for tool upon install

adding notice regarding permissions for tool upon install


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/commit/e8057729
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/tree/e8057729
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/diff/e8057729

Branch: refs/heads/cordova-client
Commit: e8057729492a79776e655c320c64406810409f0b
Parents: be5dc05
Author: Fil Maj <ma...@gmail.com>
Authored: Mon Oct 22 22:26:32 2012 -0700
Committer: Fil Maj <ma...@gmail.com>
Committed: Mon Oct 22 22:26:32 2012 -0700

----------------------------------------------------------------------
 bin/notice   |    7 +++++++
 package.json |    3 ++-
 2 files changed, 9 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/blob/e8057729/bin/notice
----------------------------------------------------------------------
diff --git a/bin/notice b/bin/notice
new file mode 100755
index 0000000..478a1aa
--- /dev/null
+++ b/bin/notice
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+echo "************************************************************************";
+echo "* Please NOTE: it is highly recommended to run the command:            *";
+echo "*     sudo chown -R <yourusername> /usr/local/lib/node_modules/cordova *";
+echo "* This will allow you to run this tool globally without root.          *";
+echo "************************************************************************";

http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/blob/e8057729/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index dbe9fac..09c0bb5 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,8 @@
     "cordova": "./bin/cordova"
   },
   "scripts": {
-    "test": "node test_bootstrap.js && ./node_modules/jasmine-node/bin/jasmine-node --color spec"
+    "test": "node test_bootstrap.js && ./node_modules/jasmine-node/bin/jasmine-node --color spec",
+    "install": "./bin/notice"
   },
   "repository": {
     "type": "git",