summaryrefslogtreecommitdiffhomepage
path: root/debian/control-extract
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2004-01-01 00:23:01 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2004-01-01 00:23:01 +0000
commita43faccbdebe37668390e26ff099faf56e1be6e5 (patch)
treea1a373d4b57708e3accea2abd2e80c2061ba1289 /debian/control-extract
parent5c9f0d05b3af7870d5ba6c40bcadf94b55663c58 (diff)
Sync to waldi's subversion archive
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: ,,"