diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-10-28 13:54:28 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2017-10-28 14:02:27 +0200 |
commit | cd54ff9554e65da3bf7be76a89ccd7fb1e32c2c1 (patch) | |
tree | 82f090cc07f6c7cae9cd872db7ce980fe7fc4950 | |
parent | 197a813cc87f50262c6faac68916c3e9a60e4d5c (diff) |
use store: instead of gzip: to open local changelogs
Regression-Of: cc1f94c95373670fdfdb8e2d6cf9125181f7df0c
-rw-r--r-- | apt-pkg/acquire-item.cc | 4 |
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"; } } |