3 ms·
This command actually fails if /usr/local/bin doesn't exist. He could simplify it by releasing the binary alone and running `curl -L --create-dirs -o /usr/local
by peterwwillis 8y ago
This command actually fails if /usr/local/bin doesn't exist. He could simplify it by releasing the binary alone and running `curl -L --create-dirs -o /usr/local/bin/mole https://...` https://...`, but my guess is uncompressed it's huge. (edit: possible that the GitHub server would support `curl --compressed ...`, allowing the HTTP connection to compress it in transit)
- davrodpin 8y agoThat is already supported: curl -L https://github.com/davrodpin/mole/releases/download/v0.2.0/mole0.2.0.linux-amd64.tar.gz https://github.com/davrodpin/mole/releases/download/v0.2.0/m... | tar xz -C /usr/local/bin And there are plans to implement a script to improve this process: https://github.com/davrodpin/mole/issues/19 https://github.com/davrodpin/mole/issues/19