summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/url.c b/src/url.c
index 4d7c7e6..18a7b9d 100644
--- a/src/url.c
+++ b/src/url.c
@@ -120,7 +120,7 @@ static struct apk_istream *apk_istream_fetch(const char *url, time_t since)
if (!fis || !u) goto err;
u->last_modified = since;
- io = fetchXGet(u, &fis->urlstat, "i");
+ io = fetchXGet(u, &fis->urlstat, (apk_force & APK_FORCE_REFRESH) ? "Ci" : "i");
if (!io) {
rc = fetch_maperror(fetchLastErrCode);
goto err;