installer: prevent ETXTBSY errors
authorBen Noordhuis <info@bnoordhuis.nl>
Sat, 4 Aug 2012 00:41:32 +0000 (02:41 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Sat, 4 Aug 2012 00:41:34 +0000 (02:41 +0200)
commit110e499fe7dc65429a2fade29fe1573c35d97059
tree1373e9ab5de7da4bd0cf9fd7695522e6c55e254b
parentb21c8e0bfd7539859c79fab63da88a53abe4f25a
installer: prevent ETXTBSY errors

The installer does what amounts to `cp -p`. If the node binary is in use at
the time of the copy, it'd fail with a ETXTBSY error. That's why it's unlinked
first now.
tools/install.py