summaryrefslogtreecommitdiffhomepage
path: root/debian/control-extract
diff options
context:
space:
mode:
Diffstat (limited to 'debian/control-extract')
-rw-r--r--debian/control-extract2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/control-extract b/debian/control-extract
new file mode 100644
index 000000000..ed65f2986
--- /dev/null
+++ b/debian/control-extract
@@ -0,0 +1,2 @@
+#!/bin/sh
+awk "BEGIN { i = 0; } { if (/^Package: $2/) i = 1; if (/^\s*\$/) i = 0; if (/$1:/ && i) print }" < debian/control | sed -e "s,^$1: ,,"