renamed abc_sample to abc.sample
This commit is contained in:
parent
d3be7dd2c7
commit
86cdccd4f3
|
@ -85,11 +85,11 @@ cp $RPM_BUILD_DIR/lam.apache.conf $RPM_BUILD_ROOT%{httpd_confdir}/
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ ! -f /var/lib/%{lam_dir}/config/config.cfg ]; then
|
if [ ! -f /var/lib/%{lam_dir}/config/config.cfg ]; then
|
||||||
cp /var/lib/%{lam_dir}/config/config.cfg_sample /var/lib/%{lam_dir}/config/config.cfg
|
cp /var/lib/%{lam_dir}/config/config.cfg.sample /var/lib/%{lam_dir}/config/config.cfg
|
||||||
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/lam.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
|
||||||
|
@ -128,7 +128,7 @@ fi
|
||||||
%dir %attr(700, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/templates/pdf
|
%dir %attr(700, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/templates/pdf
|
||||||
%dir %attr(700, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/templates/profiles
|
%dir %attr(700, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/templates/profiles
|
||||||
%dir %attr(700, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/selfService
|
%dir %attr(700, %{lam_uid}, %{lam_gid}) /var/lib/%{lam_dir}/config/selfService
|
||||||
/var/lib/%{lam_dir}/config/*_sample
|
/var/lib/%{lam_dir}/config/*.sample
|
||||||
/var/lib/%{lam_dir}/config/.htaccess
|
/var/lib/%{lam_dir}/config/.htaccess
|
||||||
/var/lib/%{lam_dir}/config/pdf/.htaccess
|
/var/lib/%{lam_dir}/config/pdf/.htaccess
|
||||||
/var/lib/%{lam_dir}/config/profiles/.htaccess
|
/var/lib/%{lam_dir}/config/profiles/.htaccess
|
||||||
|
|
|
@ -49,7 +49,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/lam.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,8 +27,8 @@ 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/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/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/usr/share/ldap-account-manager/config-samples
|
install -d --mode=755 debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples
|
||||||
|
@ -71,7 +71,7 @@ binary-indep: build install
|
||||||
dh_fixperms
|
dh_fixperms
|
||||||
dh_link /usr/share/doc/ldap-account-manager/docs /usr/share/ldap-account-manager/docs
|
dh_link /usr/share/doc/ldap-account-manager/docs /usr/share/ldap-account-manager/docs
|
||||||
install -D --mode=644 debian/lam.apache.conf debian/ldap-account-manager/etc/ldap-account-manager/apache.conf
|
install -D --mode=644 debian/lam.apache.conf debian/ldap-account-manager/etc/ldap-account-manager/apache.conf
|
||||||
install -D --mode=644 config/config.cfg_sample debian/ldap-account-manager/etc/ldap-account-manager/config.cfg
|
install -D --mode=644 config/config.cfg.sample debian/ldap-account-manager/etc/ldap-account-manager/config.cfg
|
||||||
dh_link /etc/ldap-account-manager/config.cfg /var/lib/ldap-account-manager/config/config.cfg
|
dh_link /etc/ldap-account-manager/config.cfg /var/lib/ldap-account-manager/config/config.cfg
|
||||||
dh_installdebconf
|
dh_installdebconf
|
||||||
dh_installdeb
|
dh_installdeb
|
||||||
|
|
Loading…
Reference in New Issue