mirror of
https://github.com/wheelybird/ldap-user-manager.git
synced 2025-01-18 15:32:54 +01:00
Add missing forward-slash escapes in sed
This commit is contained in:
parent
1548837b20
commit
9a4ad3f48d
@ -9,7 +9,7 @@ if [ ! "$SERVER_HOSTNAME" ]; then export SERVER_HOSTNAME=example.com; fi
|
||||
|
||||
if [ "$LDAP_TLS_CACERT" ]; then
|
||||
echo "$LDAP_TLS_CACERT" >/opt/ca.crt
|
||||
sed -i "s/TLS_CACERT.*/TLS_CACERT /opt/ca.crt/" /etc/ldap/ldap.conf
|
||||
sed -i "s/TLS_CACERT.*/TLS_CACERT \/opt\/ca.crt/" /etc/ldap/ldap.conf
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user