We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3becac2 commit 8ac2af7Copy full SHA for 8ac2af7
2 files changed
tools/osx-pkg-preinstall.sh
@@ -0,0 +1,7 @@
1
+#!/bin/sh
2
+# TODO Can this be done inside the .pmdoc?
3
+# TODO Can we extract $PREFIX from the installer?
4
+
5
+set -e
6
7
+rm -rf /usr/local/lib/node_modules/npm
tools/osx-pkg.pmdoc/02npm.xml
@@ -19,6 +19,7 @@
19
<mod>installTo.isAbsoluteType</mod>
20
</config>
21
<scripts>
22
+ <preinstall relative="true" mod="true">osx-pkg-preinstall.sh</preinstall>
23
<postinstall relative="true" mod="true">osx-pkg-postinstall.sh</postinstall>
24
</scripts>
25
</pkgref>
0 commit comments