[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6050) make install overwrites schema dir



Full_Name: Theral Mackey
Version: 2.4.16
OS: Linux/Debian
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (216.200.8.2)


Running make install leaves an existing slapd.conf alone, but happily nukes and
replaces the existing schema directory, taking with it any additional or custom
schema, leaving you with only the ones installed by default (hooray for svn and
backups!). 

For consistency, it should probably either nuke slapd.conf as well, or leave an
existing schema dir alone (I vote for option 2). 

fix should be as simple as an 'if [ ! -d $base/schema ] ; then (mkdir, cp
schemas, etc) ; fi'  around where it drops the schemas in place in the Makefile