aguslr / multibootusb

A collection of GRUB files and scripts that will allow you to create a pendrive capable of booting different ISO files
https://mbusb.aguslr.com
GNU General Public License v3.0
578 stars 156 forks source link

Add check for download program #205

Closed AndreyBalandin closed 6 years ago

AndreyBalandin commented 6 years ago

I think we need an alternative to Wget. Not all distributions have Wget. For example, Pacman (Archlinux) uses only Curl. Git also uses only Curl. I think that this check will make this script a little more versatile.

aguslr commented 6 years ago

Hi @AndreyBalandin! Thanks for the PR. It's indeed true that using curl as backup is a good idea. I have implemented 8af3a16 which makes the script use curl in case wget fails. It's a bit less verbose than your solution.