From a55de1500d33db1192e5c2ace48e58baf252f8b9 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 29 Oct 2012 18:16:52 +0100 Subject: 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. --- scripts/Dpkg/Control/Types.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/Dpkg/Control') 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 }; -- cgit v1.2.3