Update GNOME_URL_SOURCE

* It gets redirected eitherway.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-03-02 20:04:24 +02:00
parent 9809d9a805
commit d93c3154ac
No known key found for this signature in database
GPG Key ID: A12750536B5E7010

View File

@ -20,7 +20,7 @@ HANDLER_NAME = "gnome"
CONFIDENCE = 100 CONFIDENCE = 100
PRIORITY = 90 PRIORITY = 90
GNOME_URL_SOURCE = "http://ftp.gnome.org/pub/GNOME/sources" GNOME_URL_SOURCE = "https://download.gnome.org/sources"
def can_handle(_pkg, url=None): def can_handle(_pkg, url=None):
@ -38,7 +38,7 @@ def guess_package(cp, url):
def scan_url(pkg, url, options): def scan_url(pkg, url, options):
"http://ftp.gnome.org/pub/GNOME/sources/" "https://download.gnome.org/sources/"
package = { package = {
"data": guess_package(pkg.cpv, url), "data": guess_package(pkg.cpv, url),
"type": "gnome", "type": "gnome",