Commit a7ebd612 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

[bug] "make install" did not create required spools and created spools that...

[bug] "make install" did not create required spools and created spools that will be automatically created.

- Fixed by creating only spools not always created automatically.
- Changed mode of created spools (755 to 750).
parent a220ee7f
......@@ -108,11 +108,8 @@ installdir:
fi; \
done
@echo "Creating writable directories"
-@for dir in $(expldir) $(spooldir) $(spooldir)/msg $(spooldir)/digest \
$(spooldir)/moderation $(spooldir)/auth \
$(spooldir)/outgoing $(spooldir)/tmp $(spooldir)/task \
$(spooldir)/bulk \
$(bouncedir) $(arcdir) $(piddir) $(staticdir) $(staticdir)/js $(sysconfdir); do \
-@for dir in $(expldir) $(spooldir) $(bouncedir) $(arcdir) $(piddir) \
$(staticdir) $(staticdir)/js $(sysconfdir); do \
if [ ! -d $(DESTDIR)$$dir ] ; then \
echo "Creating $(DESTDIR)$$dir"; \
$(INSTALL) -d -m 755 $(DESTDIR)$$dir; \
......@@ -120,6 +117,14 @@ installdir:
chown $(USER) $(DESTDIR)$$dir; \
chgrp $(GROUP) $(DESTDIR)$$dir; \
done
-@for subdir in automatic bounce msg task tmp; do \
if [ ! -d $(DESTDIR)$(spooldir)/$$subdir ] ; then \
echo "Creating $(DESTDIR)$(spooldir)/$$subdir"; \
$(INSTALL) -d -m 750 $(DESTDIR)$(spooldir)/$$subdir; \
fi; \
chown $(USER) $(DESTDIR)$(spooldir)/$$subdir; \
chgrp $(GROUP) $(DESTDIR)$(spooldir)/$$subdir; \
done
sympa_wizard.pl.inst: $(top_srcdir)/src/sbin/sympa_wizard.pl.in Makefile
$(SED) \
......
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