#include <pakfire/string.h>
#include <pakfire/util.h>
-// 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"
// 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;