Welcome to mirror list, hosted at ThFree Co, Russian Federation.

osx-pkg-postinstall.sh « tools - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ab0dfa8d234b2847515a0dde7246cb3d0efa23b0 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# TODO Can this be done inside the .pmdoc?
# TODO Can we extract $PREFIX from the installer?
cd /usr/local/bin || exit

ln -sf ../lib/node_modules/npm/bin/npm-cli.js npm
ln -sf ../lib/node_modules/npm/bin/npx-cli.js npx

ln -sf ../lib/node_modules/corepack/dist/corepack.js corepack