From fb5285f56924fdf84d3281bbf6046f8b4bb00048 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 2 Jan 2013 00:39:08 +0100 Subject: Dpkg: Deprecate lowercase exported by default variables Rename, uppercase and do not export new variables by default, to avoid cluttering the caller namespace, and to give them consistent names. We'll keep the old variables for a while, to not break uses from external modules. Addresses Variables::ProhibitPackageVars. --- 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 7a2ec63be..433a71360 100644 --- a/scripts/Dpkg/Control/Types.pm +++ b/scripts/Dpkg/Control/Types.pm @@ -47,7 +47,7 @@ use constant { CTRL_PKG_DEB => 32, # DEBIAN/control in binary packages CTRL_FILE_CHANGES => 64, # .changes file CTRL_FILE_VENDOR => 128, # File in $Dpkg::CONFDIR/origins - CTRL_FILE_STATUS => 256, # /var/lib/dpkg/status + CTRL_FILE_STATUS => 256, # $Dpkg::ADMINDIR/status CTRL_CHANGELOG => 512, # Output of dpkg-parsechangelog }; -- cgit v1.2.3