From 73ed1ee547cc4932f8cbe2128682d93b0e0cedf8 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 19 Jan 2001 16:19:59 +0000 Subject: [PATCH] In case no index file is installed, "make install" will create an example file at the correct location so that the admininstrator hopefully figures out that there is some work to be done. --- Makefile.in | 3 ++- config/index | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 config/index diff --git a/Makefile.in b/Makefile.in index 5f9faf4..64e1ab3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -75,7 +75,8 @@ install: petidomo $(SHTOOL) install -c -m 755 petidomo-kickout $(bindir) $(SHTOOL) install -c -m 644 config/petidomo.conf $(sysconfdir)/petidomo.conf-sample $(SHTOOL) install -c -m 644 config/petidomo.acl $(sysconfdir)/petidomo.acl-sample - $(SHTOOL) install -c -m 444 config/help $(datadir)/help + $(SHTOOL) install -c -m 444 config/help $(datadir) + if [ ! -f $(localstatedir)/index ] ; then $(SHTOOL) install -c -m 444 config/index $(localstatedir); fi $(SHTOOL) install -c -m 555 filter/insert-name-in-subject.sh $(libexecdir) $(SHTOOL) install -c -m 555 filter/pgp-decrypt.sh $(libexecdir) $(SHTOOL) install -c -m 555 filter/pgp-encrypt.sh $(libexecdir) diff --git a/config/index b/config/index new file mode 100644 index 0000000..da0d339 --- /dev/null +++ b/config/index @@ -0,0 +1,3 @@ +The admin of this mailing list server has been lazy and did not +customize the contents of the sample index file that came with +Petidomo. Shame on him.