--- a/debian/littlebird-tc-core.postinst Fri Sep 23 12:48:12 2011 +0200
+++ b/debian/littlebird-tc-core.postinst Mon Sep 26 14:31:49 2011 +0200
@@ -103,7 +103,10 @@
# tweak the config file, but just the lines following a magical
# debconf line
- cp /usr/share/doc/littlebird-tc/examples/apache/littlebird-tc.conf $tmp
+ file=/usr/share/doc/littlebird-tc/examples/apache/littlebird-tc.conf
+ if test -f "$file.gz"; then zcat "$file.gz" >$tmp
+ else cp "$file" $tmp; fi
+
perl - "$tmp" serveradmin="$serveradmin" servername="$servername" serverport="$serverport" \
crt="$crt" key="$key" <<'_'
use strict;