Changes to postrm

Javier Fernández-Sanguino Peña jfs@computer.org
Wed, 14 Jul 2004 18:36:32 +0200


--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 14, 2004 at 09:52:01AM -0300, Guilherme de S. Pastore wrote:
> Hi Javier,
>=20
> I don't really understand what you meant with your changes to postrm,
> that you complained I didn't include in -28, especially this one:
>=20
> find /etc/john -type f | xargs rm -f
>=20
> Is it necessary? Shouldn't dpkg handle this? =3DP

Not necessarily, specially if stuff was dropped in that location.
There are several reasons that can happen:

1.- The user did package upgrades but did not the new config files (they=20
were kept as .dpkg-dist)
2.- The user added new stuff (for example, he configured a wordlist and=20
placed it there)
3.- Some maintainer script went awry and let cruft.

The directories should be purged in order to avoid leaving things there so=
=20
dpkg can remove it.

Regards

Javier

--3lcZGd9BuhuYXNfi
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA9WEQi4sehJTrj0oRAi1YAKCNaeeNt7vgt7aPX8Go7jqsV2BVCwCgiOQ3
Q/9sMvjrdGb1bxMym0OT8fE=
=qG1l
-----END PGP SIGNATURE-----

--3lcZGd9BuhuYXNfi--