summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Control
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2012-10-29 18:16:52 +0100
committerGuillem Jover <guillem@debian.org>2013-06-21 20:29:25 +0200
commita55de1500d33db1192e5c2ace48e58baf252f8b9 (patch)
tree720f6cd2520d977595ecd04ae34f29f0ea865b14 /scripts/Dpkg/Control
parentc4a75309f62d9dcd78f810500a8db3e576fdaa38 (diff)
downloaddpkg-a55de1500d33db1192e5c2ace48e58baf252f8b9.tar.gz
scripts: Use a new Dpkg::CONFDIR variable instead of literal strings
This will make life easier for downstreams using different paths. Allow overriding pkgconfdir at configure time.
Diffstat (limited to 'scripts/Dpkg/Control')
-rw-r--r--scripts/Dpkg/Control/Types.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Control/Types.pm b/scripts/Dpkg/Control/Types.pm
index f743f1dd0..7a2ec63be 100644
--- a/scripts/Dpkg/Control/Types.pm
+++ b/scripts/Dpkg/Control/Types.pm
@@ -46,7 +46,7 @@ use constant {
CTRL_PKG_SRC => 16, # .dsc file of source package
CTRL_PKG_DEB => 32, # DEBIAN/control in binary packages
CTRL_FILE_CHANGES => 64, # .changes file
- CTRL_FILE_VENDOR => 128, # File in /etc/dpkg/origins
+ CTRL_FILE_VENDOR => 128, # File in $Dpkg::CONFDIR/origins
CTRL_FILE_STATUS => 256, # /var/lib/dpkg/status
CTRL_CHANGELOG => 512, # Output of dpkg-parsechangelog
};