node-pi-zero icon indicating copy to clipboard operation
node-pi-zero copied to clipboard

Too many symlinks

Open cinderblock opened this issue 6 years ago • 1 comments

Why do your scripts make 4 symlinks to /opt/nodejs/node? What's wrong with just one? /usr/local/bin/node should be sufficient, no? Same thing for npm.

Also, why not use ln -sf ... instead of unlink and ln ...?

cinderblock avatar Jun 01 '19 21:06 cinderblock

Thanks for the feedback @cinderblock. Its the kind of feedback i like, reducing code. Will take a look when i have a moment.

sdesalas avatar Jun 11 '19 12:06 sdesalas