Skip to content

Commit e4f0a19

Browse files
committed
Switch things around to keep the path sane
1 parent 6e2d2c3 commit e4f0a19

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

script/install-openldap

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
set -e
33
set -x
44

5-
TMPDIR=$(mktemp -d)
6-
cd $TMPDIR
7-
85
BASE_PATH="$( cd `dirname $0`/../test/fixtures/openldap && pwd )"
96

107
DEBIAN_FRONTEND=noninteractive sudo -E apt-get install -y --force-yes slapd time ldap-utils
118

129
sudo /etc/init.d/slapd stop
1310

14-
ls -lah /etc/ldap/slapd.d
11+
TMPDIR=$(mktemp -d)
12+
cd $TMPDIR
1513

1614
# Delete data and reconfigure.
1715
sudo cp -v /var/lib/ldap/DB_CONFIG ./DB_CONFIG

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy