This commit is contained in:
paul 2019-04-18 21:00:07 +02:00
parent c79c8bffd7
commit 5c77c97954

View file

@ -35,7 +35,9 @@ function init_fixtures {
mkdir -p /docker-entrypoint-initdb.d
# if no files exist in this directory then copy example structure
if ! ls /docker-entrypoint-initdb.d/* 1> /dev/null 2>&1 ; then
cp /usr/share/slapd/fixtures/example_structure.ldif /docker-entrypoint-initdb.d/structure.ldif
cp \
/usr/share/slapd/fixtures/example_structure.ldif \
/docker-entrypoint-initdb.d/
fi
for f in /docker-entrypoint-initdb.d/*; do