zyedidia / eget

Easily install prebuilt binaries from GitHub.
MIT License
954 stars 39 forks source link

eget can't update itself #13

Closed thorstenkampe closed 2 years ago

thorstenkampe commented 2 years ago
sudo /usr/local/bin/eget --to /usr/local/bin zyedidia/eget
https://github.com/zyedidia/eget/releases/download/v0.3.1/eget-0.3.1-linux_amd64.tar.gz
Downloading 100% [==========================================================================================================] (2.2/2.2 MB, 3.381 MB/s)
open /usr/local/bin/eget: text file busy

The error message is the same when you're trying to copy a file to a target in use. cp has a parameter --force to force overwriting files in use. Could eget do the same?

zyedidia commented 2 years ago

Done!

thorstenkampe commented 2 years ago

@zyedidia could you release the updated version in binary form?