Gavin Chappell 389f7c25dd refactor downloading of binaries
* If `/tmp` is a `tmpfs` or somehow not the same filesystem, `os.Rename()` will fail so use `io.Copy()` instead
* don't defer cleanup of `to` as this removes the newly-created file if the operation is successful, making `install` and `upgrade` _functionally_ `uninstall`
* defer cleanup of the temporary file since it will still be in place if `os.Rename()` fails

Fixes: #130
2021-11-20 19:30:46 +00:00
..
2021-11-20 19:30:46 +00:00
2021-04-17 12:02:00 +02:00
2021-04-17 20:51:40 +02:00
2021-10-26 15:57:40 +02:00
2021-04-09 01:55:10 +02:00
2021-11-01 00:19:32 +01:00
2021-11-20 17:09:42 +01:00
2021-04-16 22:02:25 +02:00
2021-11-07 11:48:03 +01:00
2021-10-31 23:58:08 +01:00