open-remote-ssh
open-remote-ssh copied to clipboard
Fix adapt for server with both `curl` and `busybox version wget`
NOTE: In my trial last week, it was reported that a parameter (I forgotten ...) in the wget command was not supported by the busybox version wget, and I just temporarily renamed the wget on that server ...
Isn't there a better way around this?
In my current setup, curl performs significantly worse than wget (sometimes by a long shot) and here you just moved the priority to prefer curl. This would be detrimental for some of us.
You could maybe try distinguishing if you are running GNU Wget or BusyBox Wget by getting the --version output and checking for "BusyBox".