config templates
This commit is contained in:
parent
806a534a73
commit
978a3519ff
|
@ -92,7 +92,7 @@ if [ ! -f /var/lib/%{lam_dir}/config/config.cfg ]; then
|
||||||
chmod 600 /var/lib/%{lam_dir}/config/config.cfg
|
chmod 600 /var/lib/%{lam_dir}/config/config.cfg
|
||||||
chown %{lam_uid}:%{lam_gid} /var/lib/%{lam_dir}/config/config.cfg
|
chown %{lam_uid}:%{lam_gid} /var/lib/%{lam_dir}/config/config.cfg
|
||||||
if [ ! -f /var/lib/%{lam_dir}/config/lam.conf ]; then
|
if [ ! -f /var/lib/%{lam_dir}/config/lam.conf ]; then
|
||||||
cp /var/lib/%{lam_dir}/config/lam.conf.sample /var/lib/%{lam_dir}/config/lam.conf
|
cp /var/lib/%{lam_dir}/config/unix.conf.sample /var/lib/%{lam_dir}/config/lam.conf
|
||||||
chmod 600 /var/lib/%{lam_dir}/config/lam.conf
|
chmod 600 /var/lib/%{lam_dir}/config/lam.conf
|
||||||
chown %{lam_uid}:%{lam_gid} /var/lib/%{lam_dir}/config/lam.conf
|
chown %{lam_uid}:%{lam_gid} /var/lib/%{lam_dir}/config/lam.conf
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -42,7 +42,7 @@ chmod 700 /var/lib/ldap-account-manager/tmp
|
||||||
chown -R www-data /var/lib/ldap-account-manager/config
|
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
|
||||||
if [ ! -f /var/lib/ldap-account-manager/config/lam.conf ]; \
|
if [ ! -f /var/lib/ldap-account-manager/config/lam.conf ]; \
|
||||||
then cp /var/lib/ldap-account-manager/config/lam.conf.sample /var/lib/ldap-account-manager/config/lam.conf; \
|
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; fi
|
chown www-data /var/lib/ldap-account-manager/config/lam.conf; fi
|
||||||
chmod 600 /var/lib/ldap-account-manager/config/*.conf
|
chmod 600 /var/lib/ldap-account-manager/config/*.conf
|
||||||
if [ "$1" = "configure" ]; then
|
if [ "$1" = "configure" ]; then
|
||||||
|
|
|
@ -27,7 +27,7 @@ install:
|
||||||
install -D --mode=644 tmp/internal/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/tmp/internal/.htaccess
|
install -D --mode=644 tmp/internal/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/tmp/internal/.htaccess
|
||||||
install -D --mode=644 config/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/.htaccess
|
install -D --mode=644 config/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/.htaccess
|
||||||
install -D --mode=644 config/language debian/ldap-account-manager/var/lib/ldap-account-manager/config/language
|
install -D --mode=644 config/language debian/ldap-account-manager/var/lib/ldap-account-manager/config/language
|
||||||
install -D --mode=644 config/lam.conf.sample debian/ldap-account-manager/var/lib/ldap-account-manager/config/lam.conf.sample
|
install -D --mode=644 config/*.conf.sample debian/ldap-account-manager/var/lib/ldap-account-manager/config/
|
||||||
install -D --mode=644 config/config.cfg.sample debian/ldap-account-manager/var/lib/ldap-account-manager/config/config.cfg.sample
|
install -D --mode=644 config/config.cfg.sample debian/ldap-account-manager/var/lib/ldap-account-manager/config/config.cfg.sample
|
||||||
install -d --mode=755 debian/ldap-account-manager/var/lib/ldap-account-manager/config/pdf
|
install -d --mode=755 debian/ldap-account-manager/var/lib/ldap-account-manager/config/pdf
|
||||||
install -d --mode=755 debian/ldap-account-manager/var/lib/ldap-account-manager/config/profiles
|
install -d --mode=755 debian/ldap-account-manager/var/lib/ldap-account-manager/config/profiles
|
||||||
|
|
Loading…
Reference in New Issue