diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-08-27 08:59:20 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-08-27 11:27:45 +0200 |
commit | b47b1222a3d23d74d59465b98d97f8871c7c8ad2 (patch) | |
tree | aca6ac41809f8dddc4ef9897c1ef930f8ce16e5f | |
parent | d12561703c7776f665b68c91bddb28dea0728894 (diff) |
not all targets are deb-src targets
Sometimes too much refactoring can have bad effects.
Thanks: Niels Thykier for reporting on IRC
Git-Dch: Ignore
-rw-r--r-- | apt-pkg/deb/debmetaindex.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc index b2e9eeb00..8e0512759 100644 --- a/apt-pkg/deb/debmetaindex.cc +++ b/apt-pkg/deb/debmetaindex.cc @@ -154,7 +154,7 @@ static void GetIndexTargetsFor(char const * const Type, std::string const &URI, Options.insert(std::make_pair("ARCHITECTURE", *A)); Options.insert(std::make_pair("BASE_URI", baseURI)); Options.insert(std::make_pair("REPO_URI", URI)); - Options.insert(std::make_pair("TARGET_OF", "deb-src")); + Options.insert(std::make_pair("TARGET_OF", Type)); Options.insert(std::make_pair("CREATED_BY", *T)); std::string MetaKey = tplMetaKey; |