nodenv/node-build

Installing removes other files under prefix

viraptor opened this issue · 0 comments

When installing, existing files under the prefix are removed:

+ ls -la /usr/local/bin/bundle
-rwxr-xr-x 1 root root 532 Nov 25 23:35 /usr/local/bin/bundle

+ node-build 14.15.1 /usr/local/
Downloading node-v14.15.1-linux-x64.tar.gz...
-> https://nodejs.org/dist/v14.15.1/node-v14.15.1-linux-x64.tar.gz
Installing node-v14.15.1-linux-x64...
Installed node-v14.15.1-linux-x64 to /usr/local/

+ ls -la /usr/local/bin/bundle
ls: cannot access '/usr/local/bin/bundle': No such file or directory

I'd rather it didn't happen. But at least that should be documented / warned about.