Subject: Bug#4220: ghostview and /etc/papersize

From: Richard Kettlewell <[email-masked]>
Date: Wed, 21 Aug 96 14:16:27 +0100 (BST)

Package: ghostview
Version: 1.5-8

When I installed this version of ghostview, it issued the message

   cat: /etc/papersize: no such file or directory

but didn't return a non-zero exit status to dpkg, which therefore
assumed that the installation had succeeded.

This is two bugs.  Firstly it should behave sensibly in the absence of
/etc/papersize (or depend on a package which is known to provide it,
though I think this is not as good an option).  Secondly the postinst
script ignores any errors that occur; it should include `set -e' so
that errors are never ignored.

-- 
Richard Kettlewell  [email-masked]  [email-masked]
                           http://www.elmail.co.uk/staff/richard/