[Pkg-samba-maint] r2505 - branches/samba/experimental/debian

Julien Cristau jcristau at debian.org
Mon Jan 26 02:45:01 UTC 2009


On Sun, 2009-01-25 at 19:34 +0000, jelmer at alioth.debian.org wrote:

> Added: branches/samba/experimental/debian/samba-tools.prerm
> ===================================================================
> --- branches/samba/experimental/debian/samba-tools.prerm	                        (rev 0)
> +++ branches/samba/experimental/debian/samba-tools.prerm	2009-01-25 19:34:41 UTC (rev 2505)
> @@ -0,0 +1,13 @@
> +#!/bin/sh
> +
> +if [ "$1" = "configure" ]
> +then
> +	update-alternatives --remove locktest /usr/bin/locktest.samba3
> +	update-alternatives --remove nsstest nsstest /usr/bin/nsstest.samba3
> +	update-alternatives --remove masktest /usr/bin/masktest.samba3
> +	update-alternatives --remove smbtorture /usr/bin/smbtorture.samba3
> +fi
> +

The prerm script is never called with "$1" = "configure", afaict.  You
probably want to check for "remove" or "deconfigure" here.

Cheers,
Julien



More information about the Pkg-samba-maint mailing list