Browse Source

openldap: use default prefix instead of 'opt/openldap' (IssueID #86)

stable/0.2
Christian Wiese 14 years ago
parent
commit
9b0b0c7b1e
  1. 5
      network/openldap/openldap.conf

5
network/openldap/openldap.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../openldap/openldap.conf # Filename: package/.../openldap/openldap.conf
# Copyright (C) 2007 - 2008 The OpenSDE Project # Copyright (C) 2007 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -17,9 +17,6 @@
createdocs=0 createdocs=0
if [ "$prefix_auto" = 1 ]; then if [ "$prefix_auto" = 1 ]; then
prefix="opt/openldap"
set_confopt
# we want to keep a good record of openldap's sysconfdir # we want to keep a good record of openldap's sysconfdir
var_remove_regex confopt ' ' "--sysconfdir=.*" var_remove_regex confopt ' ' "--sysconfdir=.*"
var_append extraconfopt ' ' "--sysconfdir=${sysconfdir%/openldap}" var_append extraconfopt ' ' "--sysconfdir=${sysconfdir%/openldap}"

Loading…
Cancel
Save