mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
03954f778e
Creates macOS pkg installer by using `pkgbuild` and `productbuild`. Removes previous npm installation before installing npm. Packages carry correct version attributes. Support for intl installer features, defaults to `en`. Fancy formatted license. Renamed `osx` references to `macOS`. Optional installation of npm. PR-URL: https://github.com/nodejs/node/pull/15179 Fixes: https://github.com/nodejs/node/issues/15012 Refs: https://github.com/nodejs/node/pull/5656 Refs: https://github.com/nodejs/node/pull/2571 Refs: https://github.com/nodejs/node/pull/7097 Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
6 lines
139 B
Bash
Executable File
6 lines
139 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd /usr/local/bin || exit 1
|
|
ln -sf ../lib/node_modules/npm/bin/npm-cli.js npm
|
|
ln -sf ../lib/node_modules/npm/bin/npx-cli.js npx
|