[Pkg-openldap-devel] OpenLDAP 2.4.7

Russ Allbery rra at debian.org
Sat Jan 12 03:20:23 UTC 2008


Steve Langasek <vorlon at debian.org> writes:

> @@ -489,13 +501,17 @@
>  		}
>  
>  		$config = shift;
> -		changeConfig ($config);'
> +		changeConfig ($config);
> +		exit $has_replica;'
>  
>  	echo -n "  Upgrading BDB 'checkpoint' options... " >&2
>  
>  	perl -e "$script" $SLAPD_CONF
> +	result=$?

set -e is going to make you sad here, no?  I think this has to be:

result=0
if perl -e "$script" $SLAPD_CONF ; then
    result=0
else
    result=1
fi

although I'm not very good with the fancy bits of shell and there's
probably a better way of doing that.

> Index: debian/slapd.templates
> ===================================================================
> --- debian/slapd.templates	(revision 968)
> +++ debian/slapd.templates	(working copy)
> @@ -181,3 +181,16 @@
>   features to offer transaction processing, fine grained locking, and other
>   features that offer improved concurrency and reliability. For more
>   information, see /usr/share/doc/slapd/README.DB_CONFIG.gz
> +
> +Template: slapd/slurpd_obsolete
> +Type: note

error.

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>



More information about the Pkg-openldap-devel mailing list