summaryrefslogtreecommitdiff
path: root/apt-pkg/init.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-08-23 18:56:03 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-08-23 18:56:03 +0200
commitea479d9490c9bab63b13ace7a7cca4e0a4a6611d (patch)
tree890973d4e2c0104ed58fb9d31b2e7194b76c6568 /apt-pkg/init.cc
parent9349f80796a4b0be3ce2e732029ddd4a6558f80a (diff)
parentf213b6ea7397f2ba5b770e1a30e57dc8438bf61e (diff)
merged from lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg/init.cc')
-rw-r--r--apt-pkg/init.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index 7a332c86e..846b27313 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -70,6 +70,9 @@ bool pkgInitConfig(Configuration &Cnf)
Cnf.Set("Dir::Etc::parts","apt.conf.d");
Cnf.Set("Dir::Etc::preferences","preferences");
Cnf.Set("Dir::Etc::preferencesparts","preferences.d");
+ string const deprecated = _config->Find("APT::GPGV::TrustedKeyring");
+ Cnf.Set("Dir::Etc::trusted", deprecated.empty() ? "trusted.gpg" : deprecated);
+ Cnf.Set("Dir::Etc::trustedparts","trusted.gpg.d");
Cnf.Set("Dir::Bin::methods","/usr/lib/apt/methods");
Cnf.Set("Dir::Media::MountPath","/media/apt");