Skip to content

Commit 7d82303

Browse files
committed
tools: delete macos installer postinstall script
Signed-off-by: Sebastian Davids <[email protected]>
1 parent eab0fe2 commit 7d82303

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,9 @@ endif
11761176
pkgbuild --version $(FULLVERSION) \
11771177
--identifier org.nodejs.node.pkg \
11781178
--root $(MACOSOUTDIR)/dist/node $(MACOSOUTDIR)/pkgs/node-$(FULLVERSION).pkg
1179+
mkdir -p $(MACOSOUTDIR)/dist/npm/usr/local/bin
1180+
ln -sf ../lib/node_modules/npm/bin/npm-cli.js $(MACOSOUTDIR)/dist/npm/usr/local/bin/npm
1181+
ln -sf ../lib/node_modules/npm/bin/npx-cli.js $(MACOSOUTDIR)/dist/npm/usr/local/bin/npx
11791182
pkgbuild --version $(NPMVERSION) \
11801183
--identifier org.nodejs.npm.pkg \
11811184
--root $(MACOSOUTDIR)/dist/npm \

tools/macos-installer/pkgbuild/npm/scripts/postinstall

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)