summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Dh_Lib.pm
diff options
context:
space:
mode:
authorjoeyh <joeyh>2007-01-10 23:01:15 +0000
committerjoeyh <joeyh>2007-01-10 23:01:15 +0000
commitb415e69ba8f27d0821b9f4ab4f19993a2c0ef211 (patch)
treefd1fb6535cb66a261dff2b603a6ace6e42ec4825 /Debian/Debhelper/Dh_Lib.pm
parent985463e25f059565ef677985ebca02c7470efccf (diff)
r1966: * Looks like Package-Type might get into dpkg. Support it w/o the XB-
too.
Diffstat (limited to 'Debian/Debhelper/Dh_Lib.pm')
-rw-r--r--Debian/Debhelper/Dh_Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 435b700..64b8b79 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -616,7 +616,7 @@ sub getpackages {
if (/^Architecture:\s*(.*)/) {
$arch=$1;
}
- if (/^X[BC]*-Package-Type:\s*(.*)/) {
+ if (/^(?:X[BC]*-)?Package-Type:\s*(.*)/) {
$package_type=$1;
}