fixed install issue

This commit is contained in:
Roland Gruber 2019-12-15 17:40:44 +01:00
parent 8abd515ac6
commit 65a10ef62c
1 changed files with 1 additions and 1 deletions

View File

@ -56,8 +56,8 @@ chown -R www-data /var/lib/ldap-account-manager/config
chmod 700 /var/lib/ldap-account-manager/config
set +e
ls -l /var/lib/ldap-account-manager/config/*.conf &> /dev/null
set -e
cfgFilesExist=$?
set -e
if [ $cfgFilesExist -ne 0 ]; then
cp /var/lib/ldap-account-manager/config/unix.conf.sample /var/lib/ldap-account-manager/config/lam.conf
chown www-data /var/lib/ldap-account-manager/config/lam.conf