Bug#95358: gpc-2.95 error in prerm
On Thu, Apr 26, 2001 at 08:59:29PM +0200, Laurent Bonnaud wrote:
>
> Hi,
>
> sorry I made a mistake in my original report because I found another
> bug while writing the report. The missing -r option is in
> /var/lib/dpkg/info/gpc-2.95.preinst :
>
> # dpkg cannot handle transistions from symlinks to directories
> rm -f /usr/share/doc/gpc-2.95 || true
>
> The prerm script still looks strange :>.
It could be nicer (Check if it's a link instead of sending an error)
but there's not supposed to be a -r. That's only to remove it if it is
a symlink.
--
Daniel Jacobowitz Debian GNU/Linux Developer
Monta Vista Software Debian Security Team
Reply to: