summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-10-28 13:54:28 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2017-10-28 14:02:27 +0200
commitcd54ff9554e65da3bf7be76a89ccd7fb1e32c2c1 (patch)
tree82f090cc07f6c7cae9cd872db7ce980fe7fc4950 /apt-pkg/acquire-item.cc
parent197a813cc87f50262c6faac68916c3e9a60e4d5c (diff)
use store: instead of gzip: to open local changelogs
Regression-Of: cc1f94c95373670fdfdb8e2d6cf9125181f7df0c
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index bc9998c02..1b0d6c592 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -3602,11 +3602,11 @@ std::string pkgAcqChangelog::URI(pkgCache::VerIterator const &Ver) /*{{{*/
if (FileExists(debianname))
return "copy://" + debianname;
else if (FileExists(debianname + ".gz"))
- return "gzip://" + debianname + ".gz";
+ return "store://" + debianname + ".gz";
else if (FileExists(basename))
return "copy://" + basename;
else if (FileExists(basename + ".gz"))
- return "gzip://" + basename + ".gz";
+ return "store://" + basename + ".gz";
}
}