new config file structure
This commit is contained in:
parent
58648d58ea
commit
19be66ce58
|
@ -8,21 +8,21 @@ db_version 2.0 || [ $? -lt 30 ]
|
||||||
cd /usr/share/ldap-account-manager/config-samples/profiles
|
cd /usr/share/ldap-account-manager/config-samples/profiles
|
||||||
files=`ls -a default.*`
|
files=`ls -a default.*`
|
||||||
for file in $files; do
|
for file in $files; do
|
||||||
if [ ! -f /var/lib/ldap-account-manager/config/profiles/$file ]; then
|
if [ ! -f /var/lib/ldap-account-manager/config/templates/profiles/$file ]; then
|
||||||
cp $file /var/lib/ldap-account-manager/config/profiles/$file
|
cp $file /var/lib/ldap-account-manager/config/templates/profiles/$file
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
cd /usr/share/ldap-account-manager/config-samples/pdf
|
cd /usr/share/ldap-account-manager/config-samples/pdf
|
||||||
files=`ls -a default.*`
|
files=`ls -a default.*`
|
||||||
for file in $files; do
|
for file in $files; do
|
||||||
if [ ! -f /var/lib/ldap-account-manager/config/pdf/$file ]; then
|
if [ ! -f /var/lib/ldap-account-manager/config/templates/pdf/$file ]; then
|
||||||
cp $file /var/lib/ldap-account-manager/config/pdf/$file
|
cp $file /var/lib/ldap-account-manager/config/templates/pdf/$file
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
cd /usr/share/ldap-account-manager/config-samples/pdf/logos
|
cd /usr/share/ldap-account-manager/config-samples/templates/pdf/logos
|
||||||
files=`ls -a *.jpg`
|
files=`ls -a *.jpg`
|
||||||
for file in $files; do
|
for file in $files; do
|
||||||
cp $file /var/lib/ldap-account-manager/config/pdf/logos/$file
|
cp $file /var/lib/ldap-account-manager/config/templates/pdf/logos/$file
|
||||||
done
|
done
|
||||||
cd /usr/share/ldap-account-manager/config-samples/selfService
|
cd /usr/share/ldap-account-manager/config-samples/selfService
|
||||||
files=`ls -a default.*`
|
files=`ls -a default.*`
|
||||||
|
|
|
@ -29,11 +29,11 @@ install:
|
||||||
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/lam.conf_sample debian/ldap-account-manager/var/lib/ldap-account-manager/config/lam.conf_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=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/usr/share/ldap-account-manager/config-samples
|
install -d --mode=755 debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples
|
||||||
cp -r config/profiles debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples/
|
cp -r config/templates/profiles debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples/
|
||||||
install -D --mode=644 config/profiles/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/profiles/.htaccess
|
install -D --mode=644 config/profiles/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/templates/profiles/.htaccess
|
||||||
cp -r config/pdf debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples/
|
cp -r config/templates/pdf debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples/
|
||||||
install -D --mode=644 config/pdf/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/pdf/.htaccess
|
install -D --mode=644 config/pdf/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/templates/pdf/.htaccess
|
||||||
install -D --mode=644 config/pdf/logos/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/pdf/logos/.htaccess
|
install -D --mode=644 config/pdf/logos/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/templates/config/pdf/logos/.htaccess
|
||||||
cp -r config/selfService debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples/
|
cp -r config/selfService debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples/
|
||||||
install -D --mode=644 config/selfService/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/selfService/.htaccess
|
install -D --mode=644 config/selfService/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/selfService/.htaccess
|
||||||
cp -r graphics debian/ldap-account-manager/usr/share/ldap-account-manager/
|
cp -r graphics debian/ldap-account-manager/usr/share/ldap-account-manager/
|
||||||
|
|
Loading…
Reference in New Issue