scripts/download.pl: generilize and simplify download tool check
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 28 Sep 2022 12:22:49 +0000 (14:22 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 28 Sep 2022 14:55:10 +0000 (16:55 +0200)
commit261925a8699c9e515131a54c6ee1027783fb8002
treea73593e4342004827dd08aac8c4aa904fef7c786
parente739ccb2f6c0e29109a757fb22b37540b37347cd
scripts/download.pl: generilize and simplify download tool check

Generilize download tool check and skip other check if a download tool
has been found.
While at it also reintroduce c836ca84e8f641e10a8349a8f9b7432b33d6cec1
that was previously dropped with aria2c support.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
scripts/download.pl