summaryrefslogtreecommitdiff
path: root/apt-pkg/init.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2018-12-04 20:14:45 +0000
committerJulian Andres Klode <jak@debian.org>2018-12-04 20:14:45 +0000
commit294b5e77a25d2600e7f3ce12a996d1694b5be817 (patch)
tree4282524f2298dfd2b9af869ae70e48b940c6d9d7 /apt-pkg/init.cc
parent37bdbe03d44975951d2518bb9b3d3636081dca6a (diff)
parentbbfcc05c1978decd28df9681fd73e2a7d9a8c2a5 (diff)
Merge branch 'pu/netrcparts' into 'master'
Add support for /etc/apt/auth.conf.d/*.conf (netrcparts) See merge request apt-team/apt!37
Diffstat (limited to 'apt-pkg/init.cc')
-rw-r--r--apt-pkg/init.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index 3502e7ddc..d98affe06 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -150,6 +150,7 @@ bool pkgInitConfig(Configuration &Cnf)
Cnf.CndSet("Dir::Etc::sourceparts","sources.list.d");
Cnf.CndSet("Dir::Etc::main","apt.conf");
Cnf.CndSet("Dir::Etc::netrc", "auth.conf");
+ Cnf.CndSet("Dir::Etc::netrcparts", "auth.conf.d");
Cnf.CndSet("Dir::Etc::parts","apt.conf.d");
Cnf.CndSet("Dir::Etc::preferences","preferences");
Cnf.CndSet("Dir::Etc::preferencesparts","preferences.d");