summaryrefslogtreecommitdiff
path: root/www/c-icap-modules/patches/patch-services_url_check_Makefile.in
blob: 6b213344c1ba99b3448b531c8ae6068828d815a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-services_url_check_Makefile.in,v 1.4 2015/06/12 23:40:16 taca Exp $

Handle configuration files

--- services/url_check/Makefile.in.orig	2013-12-27 15:35:48.000000000 +0000
+++ services/url_check/Makefile.in
@@ -730,8 +730,7 @@ uninstall-man: uninstall-man8
 	$(do_subst) < $< > $@
 
 install-data-local:
-	$(INSTALL) srv_url_check.conf $(DESTDIR)$(CONFIGDIR)/srv_url_check.conf.default
-	if test ! -f $(DESTDIR)$(CONFIGDIR)/srv_url_check.conf; then $(INSTALL) srv_url_check.conf $(DESTDIR)$(CONFIGDIR)/srv_url_check.conf; fi
+	$(INSTALL) -m 0444 srv_url_check.conf $(DESTDIR)$(datadir)/c-icap/srv_url_check.conf.default
 	$(mkinstalldirs) $(DESTDIR)$(cicapdatadir)/templates/srv_url_check/en
 	$(INSTALL) $(TMPLS) $(DESTDIR)$(cicapdatadir)/templates/srv_url_check/en/