[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4220: ghostview and /etc/papersize



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  richard@greenend.org.uk  richard@elmail.co.uk
                           http://www.elmail.co.uk/staff/richard/



Reply to: