syncthing / apt-web

The web component of http://apt.syncthing.net/
11 stars 18 forks source link

Use wget instead of curl #5

Closed esemeniuc closed 8 years ago

esemeniuc commented 8 years ago

Curl isn't on as many distributions by default versus wget

AudriusButkevicius commented 8 years ago

It's actually the opposite.

calmh commented 8 years ago

Tomayto, tomahto... I'll think we'll leave it as is, thanks.

hennr commented 8 years ago

Debian comes with wget but no curl in the default installation.

esemeniuc commented 8 years ago

Agreed, most linux distros come with wget vs curl. OSX comes with curl on the other hand.

wweich commented 8 years ago

How about showing both options?

# Add the release PGP keys:
curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
or
wget -q https://syncthing.net/release-key.txt -O - | sudo apt-key add -
calmh commented 8 years ago

There's enough curl | bash type installations out there that I expect people understand it either way. I think it's fine as is.