[Pkg-samba-maint] r845 - branches/samba4

Steve Langasek vorlon at debian.org
Wed Jan 4 07:24:53 UTC 2006


On Tue, Jan 03, 2006 at 03:46:07PM +0000, Steinar H. Gunderson wrote:

> Modified: branches/samba4/samba.config
> ===================================================================
> --- branches/samba4/samba.config	2006-01-03 15:32:46 UTC (rev 844)
> +++ branches/samba4/samba.config	2006-01-03 15:46:07 UTC (rev 845)
> @@ -7,7 +7,7 @@
>  db_title "Samba Server"
>  
>  # See if we're upgrading from Samba 3
> -if [ "$1" == "configure" -a ! -z "$2" ]; then
> +if [ "$1" = "configure" -a ! -z "$2" ]; then

Not relevant to the bug you're fixing, but wouldn't it be simpler to write:

  if [ "$1" = "configure" -a -n "$2" ]

? :)

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20060103/b32dcc9d/attachment.pgp


More information about the Pkg-samba-maint mailing list