Package: libpaper
Version: 1.1.15
Severity: important
Tags: patch

You cannot put one command among multiple lines...

> Automatic build of gabber_0.8.8-7 on test.track.rz.uni-augsburg.de by 
> sbuild/powerpc 0.44
...
> Removing libpaper1 ...
> Purging configuration files for libpaper1 ...
> /var/lib/dpkg/info/libpaper1.postrm: line 19: [: missing `]'
> /var/lib/dpkg/info/libpaper1.postrm: line 20: 
> 2f1ad364c25bfd8dcee21c2d6ea97a3a  /etc/papersize: No such file or directory


--- debian/libpaper1.postrm~    2006-05-15 10:42:48.000000000 +0000
+++ debian/libpaper1.postrm     2006-05-15 10:42:51.000000000 +0000
@@ -5,7 +5,7 @@
 case "$1" in
   purge)
     if [ -x /usr/bin/ucf ]; then
-      if [ -e /etc/papersize -a 
+      if [ -e /etc/papersize -a \
            "`md5sum /etc/papersize`" = "`awk '/\/etc\/papersize$/ {print}' 
</var/lib/ucf/hashfile`" ]; then
           rm -f /etc/papersize
       fi
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to