summaryrefslogtreecommitdiff
path: root/tools/osx-pkg-postinstall.sh
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-11-21 09:48:45 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-11-21 10:50:52 -0800
commitb488be127a8cf1e59eb257db3f8eaf6efdb0f275 (patch)
tree83436f4f84b9651ea66c3a0d304050252916c149 /tools/osx-pkg-postinstall.sh
parent05de01d707cd9a80f34da23445f507f5f2e2c277 (diff)
downloadnode-new-b488be127a8cf1e59eb257db3f8eaf6efdb0f275.tar.gz
Include NPM, update .pkg to install it.
.msi update coming soon.
Diffstat (limited to 'tools/osx-pkg-postinstall.sh')
-rw-r--r--tools/osx-pkg-postinstall.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/osx-pkg-postinstall.sh b/tools/osx-pkg-postinstall.sh
new file mode 100644
index 0000000000..c4c872fc78
--- /dev/null
+++ b/tools/osx-pkg-postinstall.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# TODO Can this be done inside the .pmdoc?
+# TODO Can we extract $PREFIX from the installer?
+cd /usr/local/bin
+ln -sf ../lib/node_modules/npm/bin/npm-cli.js npm