removed default self service profile

This commit is contained in:
Roland Gruber 2014-10-05 18:24:02 +00:00
parent 246d4a8bab
commit 2b40157434
3 changed files with 1 additions and 9 deletions

View File

@ -139,7 +139,6 @@ fi
%attr(-, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/templates/pdf/logos %attr(-, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/templates/pdf/logos
%config(noreplace) %attr(-, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/templates/pdf/default.* %config(noreplace) %attr(-, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/templates/pdf/default.*
%config(noreplace) %attr(-, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/templates/profiles/default.* %config(noreplace) %attr(-, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/templates/profiles/default.*
%config(noreplace) %attr(-, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/selfService/default.*
/usr/share/%{lam_dir} /usr/share/%{lam_dir}
%{httpd_confdir} %{httpd_confdir}
/etc/%{lam_dir}/lam.nginx.conf /etc/%{lam_dir}/lam.nginx.conf

View File

@ -24,13 +24,6 @@ files=`ls -a *.jpg`
for file in $files; do for file in $files; do
cp $file /var/lib/ldap-account-manager/config/templates/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
files=`ls -a default.*`
for file in $files; do
if [ ! -f /var/lib/ldap-account-manager/config/selfService/$file ]; then
cp $file /var/lib/ldap-account-manager/config/selfService/$file
fi
done
if [ ! -h /usr/share/ldap-account-manager/lib/fpdf.php ]; then\ if [ ! -h /usr/share/ldap-account-manager/lib/fpdf.php ]; then\
ln -s /usr/share/fpdf/fpdf.php /usr/share/ldap-account-manager/lib/fpdf.php; fi ln -s /usr/share/fpdf/fpdf.php /usr/share/ldap-account-manager/lib/fpdf.php; fi
if [ ! -h /usr/share/ldap-account-manager/config ]; then\ if [ ! -h /usr/share/ldap-account-manager/config ]; then\

View File

@ -31,10 +31,10 @@ install:
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
install -d --mode=755 debian/ldap-account-manager/var/lib/ldap-account-manager/config/selfService
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/templates/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/
cp -r config/templates/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/
cp -r config/selfService debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples/
cp -r graphics debian/ldap-account-manager/usr/share/ldap-account-manager/ cp -r graphics debian/ldap-account-manager/usr/share/ldap-account-manager/
install -D --mode=644 help/help.inc debian/ldap-account-manager/usr/share/ldap-account-manager/help/help.inc install -D --mode=644 help/help.inc debian/ldap-account-manager/usr/share/ldap-account-manager/help/help.inc
install -D --mode=644 lib/.htaccess debian/ldap-account-manager/usr/share/ldap-account-manager/lib/.htaccess install -D --mode=644 lib/.htaccess debian/ldap-account-manager/usr/share/ldap-account-manager/lib/.htaccess