diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-06-29 16:44:46 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-06-29 16:44:46 +0200 |
commit | afe4d2a556535dbc9475ac1665c380a235dd28de (patch) | |
tree | 09309acf8e9b9e461d675a1d1377ba0b0b19aa6f /apt-pkg/pkgcache.cc | |
parent | f8ae7e8b3c5585888cbc0516b35131acec14ff05 (diff) | |
parent | efc487fbd46905f5f3efc4f31d7df15625bcbecf (diff) | |
download | apt-afe4d2a556535dbc9475ac1665c380a235dd28de.tar.gz |
[ABI break] Allow pinning by codename (closes: #97564)
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r-- | apt-pkg/pkgcache.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc index 7a0d7376d..81a254483 100644 --- a/apt-pkg/pkgcache.cc +++ b/apt-pkg/pkgcache.cc @@ -607,6 +607,8 @@ string pkgCache::PkgFileIterator::RelStr() Res = Res + (Res.empty() == true?"o=":",o=") + Origin(); if (Archive() != 0) Res = Res + (Res.empty() == true?"a=":",a=") + Archive(); + if (Codename() != 0) + Res = Res + (Res.empty() == true?"n=":",n=") + Codename(); if (Label() != 0) Res = Res + (Res.empty() == true?"l=":",l=") + Label(); if (Component() != 0) |