diff options
author | isaacs <i@izs.me> | 2010-05-03 02:24:15 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-05-03 05:07:49 +0400 |
commit | 0c3012c2a8944daa6b2ee402ba4462efe762a80b (patch) | |
tree | ddbc79dc3961158eaaf619bb2c716a3a05c42969 /lib | |
parent | 6256948154442ed6989d110763f974b0d942bd61 (diff) |
Clean up tarball and temp folder more thoroughly
Diffstat (limited to 'lib')
-rw-r--r-- | lib/install.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/install.js b/lib/install.js index 7f53e216f..f3e2f9ab0 100644 --- a/lib/install.js +++ b/lib/install.js @@ -102,7 +102,8 @@ function fetchAndInstall (tarball, cb) { ( [install, [target]] // clean up , [log, target, "deleting"] - , [fs, "unlink", target] + , [rm, target] + , [rm, target.replace(/\.tgz$/, '')] , cb ) }) |