node/tools/macos-installer/pkgbuild/npm/scripts/preinstall

6 lines
105 B
Bash
Executable File

#!/bin/sh
[[ -d /usr/local/lib/node_modules/npm ]] \
&& rm -rf /usr/local/lib/node_modules/npm
exit 0