Commit e71810ad authored by salaun's avatar salaun
Browse files

Setting sympa owner of installation directory


git-svn-id: https://subversion.renater.fr/sympa/trunk@232 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent d7ac0f7b
......@@ -195,8 +195,11 @@ installscript:
installdir:
echo "Setting $(USER) owner of $(DESTDIR)$(DIR)"
chown $(USER) $(DESTDIR)$(DIR)
chgrp $(GROUP) $(DESTDIR)$(DIR)
@if [ ! -f $(DESTDIR)$(CONFDIR)/sympa.conf ] ; then \
echo "Installing directories..."; \
echo "First installation : installing directories..."; \
for dir in expl etc sample ; do \
if [ ! -d $(DESTDIR)$(DIR)/$$dir ] ; then \
echo "Creating $(DESTDIR)$(DIR)/$$dir"; \
......@@ -207,7 +210,7 @@ installdir:
done \
fi
@if [ ! -f $(DESTDIR)$(CONFDIR)/sympa.conf ] ; then \
echo "Installing conf directories..."; \
echo "First installation : installing conf directories..."; \
for dir in etc/create_list_templates etc/templates etc/wws_templates etc/scenari ; do \
if [ ! -d $(DESTDIR)$(DIR)/$$dir ] ; then \
echo "Creating $(DESTDIR)$(DIR)/$$dir"; \
......@@ -218,7 +221,7 @@ installdir:
done \
fi
@if [ ! -f $(DESTDIR)$(CONFDIR)/sympa.conf ] ; then \
echo "Installing spool directories..."; \
echo "First installation : installing spool directories..."; \
for dir in $(SPOOLDIR) $(SPOOLDIR)/msg $(SPOOLDIR)/digest $(SPOOLDIR)/moderation \
$(SPOOLDIR)/expire $(SPOOLDIR)/auth $(SPOOLDIR)/outgoing $(SPOOLDIR)/tmp ; do \
if [ ! -d $(DESTDIR)$$dir ] ; then \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment