Commit ae40a5e2 authored by salaun's avatar salaun
Browse files

[reported by G. Paressant] Fix: DESTDIR env variable was not set when running the wizard


git-svn-id: https://subversion.renater.fr/sympa/trunk@1682 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 6a0a3266
......@@ -361,6 +361,7 @@ installconfig:
@for cfile in sympa.conf wwsympa.conf ; do \
if [ ! -f $(DESTDIR)$(CONFDIR)/$$cfile ] ; then \
echo "Installing sample config file $$cfile..."; \
DESTDIR=$(DESTDIR); export DESTDIR; \
$(PERL) -I $(DESTDIR)$(LIBDIR) $(DESTDIR)$(SBINDIR)/sympa_wizard.pl -c $$cfile; \
chown $(USER) $(DESTDIR)$(CONFDIR)/$$cfile; \
chgrp $(GROUP) $(DESTDIR)$(CONFDIR)/$$cfile; \
......@@ -371,6 +372,7 @@ installconfig:
echo "###############################################"; \
echo "It seems to be your first installation of Sympa"; \
echo "The following wizard will help you create your $(CONFDIR)/sympa.conf and $(CONFDIR)/wwsympa.conf :"; \
DESTDIR=$(DESTDIR); export DESTDIR; \
$(PERL) -I $(DESTDIR)$(LIBDIR) $(DESTDIR)$(SBINDIR)/sympa_wizard.pl; \
fi
......
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