fixed install issue
This commit is contained in:
parent
8abd515ac6
commit
65a10ef62c
|
@ -56,8 +56,8 @@ chown -R www-data /var/lib/ldap-account-manager/config
|
||||||
chmod 700 /var/lib/ldap-account-manager/config
|
chmod 700 /var/lib/ldap-account-manager/config
|
||||||
set +e
|
set +e
|
||||||
ls -l /var/lib/ldap-account-manager/config/*.conf &> /dev/null
|
ls -l /var/lib/ldap-account-manager/config/*.conf &> /dev/null
|
||||||
set -e
|
|
||||||
cfgFilesExist=$?
|
cfgFilesExist=$?
|
||||||
|
set -e
|
||||||
if [ $cfgFilesExist -ne 0 ]; then
|
if [ $cfgFilesExist -ne 0 ]; then
|
||||||
cp /var/lib/ldap-account-manager/config/unix.conf.sample /var/lib/ldap-account-manager/config/lam.conf
|
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
|
chown www-data /var/lib/ldap-account-manager/config/lam.conf
|
||||||
|
|
Loading…
Reference in New Issue