scripts/download.pl: detach mirror URLs from script file
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 18 Jun 2024 14:09:30 +0000 (16:09 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 18 Jun 2024 17:51:45 +0000 (19:51 +0200)
commit465cf358881cfad1293669f235a62e9f31539521
treea739c861303a5b2b45a39bfd03701a6989dcc1ff
parentfcdc7da31c5b33cedfeb0049a25c5c122c980f8a
scripts/download.pl: detach mirror URLs from script file

Detach URL from download script to make it easier to change and update
the URLs.

The mirror list is moved to a JSON file in the scripts directory called
projectsmirrors.json.

Link: https://github.com/openwrt/openwrt/pull/15745
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
scripts/download.pl
scripts/projectsmirrors.json [new file with mode: 0644]