On 2008-06-01 12:44 +0200, Osamu Aoki wrote:

> On Sun, Jun 01, 2008 at 12:01:22PM +0200, Sven Joachim wrote:
>> Package: debian-reference-common
>> Version: 2.01
>> Severity: normal
>> 
>> Since the files have moved to /usr/share/doc/debian-reference-common,
>> you should remove /usr/share/doc/Debian/reference/index.html when
>> upgrading from versions prior to 2.01.  If you do it in the postinst,
>> please rmdir /usr/share/doc/Debian/reference/ as well.
>
> Yes.  Please check how 2.02 did.

2.02 packages are not really different.  The postrm script is not the
right place to remove /usr/share/doc/Debian/reference since it is not
called when upgrading from pre-2.x versions (unless the old postrm
fails, that is).

Besides, it seems that blithely rm -rf'ing the whole directory isn't
quite TRT either, since it contains files belonging to other packages.
And nothing stops users from, say, having debian-reference-en 2.02 and
debian-reference-ja 1.12, when the latter package will be effectively
destroyed by the postrm of the former.

Sven



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

Reply via email to