From: Michael Tremer Date: Mon, 2 Oct 2023 10:25:52 +0000 (+0000) Subject: dist: Drop our own source mirror X-Git-Tag: 0.9.30~1570 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92a08913ddf0c8e6d3d5f592ec505f041733a443;p=pakfire.git dist: Drop our own source mirror Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/dist.c b/src/libpakfire/dist.c index 2ca637389..05d7afc46 100644 --- a/src/libpakfire/dist.c +++ b/src/libpakfire/dist.c @@ -39,9 +39,6 @@ #include #include -// XXX for now -#define BASEURL "https://source.ipfire.org/source-3.x/" - #define PAKFIRE_MACROS_DIR "/usr/lib/pakfire/macros" #define PAKFIRE_MACROS_GLOB_PATTERN PAKFIRE_MACROS_DIR "/*.macro" @@ -285,7 +282,7 @@ static int pakfire_dist_add_source(struct pakfire* pakfire, struct pakfire_packa // Download the file if it does not exist in the cache if (access(cache_path, R_OK) != 0) { - r = pakfire_downloader_retrieve(downloader, BASEURL, mirrorlist, + r = pakfire_downloader_retrieve(downloader, NULL, mirrorlist, NULL, filename, cache_path, 0, NULL, 0, 0); if (r) return r;