summaryrefslogtreecommitdiff
path: root/sysutils/bacula/patches/patch-ai
blob: f0685e179c1f15c0d4f41c31a749aa7342bf5c3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ai,v 1.3 2005/12/08 01:04:45 wiz Exp $

--- src/tray-monitor/Makefile.in.orig	2005-04-26 17:04:25.000000000 +0200
+++ src/tray-monitor/Makefile.in
@@ -71,14 +71,14 @@ devclean: realclean
 install: all
 	$(INSTALL_PROGRAM) bacula-tray-monitor $(DESTDIR)$(sbindir)/bacula-tray-monitor
 	@srcconf=tray-monitor.conf; \
-	if  test -f ${DESTDIR}${sysconfdir}/$$srcconf; then \
+	if  test -f ${DESTDIR}%%EXAMPLESDIR%%/$$srcconf; then \
 	   destconf=$$srcconf.new; \
 	   echo "  ==> Found existing $$srcconf, installing new conf file as $$destconf"; \
 	else \
 	   destconf=$$srcconf; \
 	fi; \
-	echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \
-	${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf
+	echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}%%EXAMPLESDIR%%/$$destconf"; \
+	${INSTALL_CONFIG} $$srcconf ${DESTDIR}%%EXAMPLESDIR%%/$$destconf
 
 uninstall:
 	(cd $(DESTDIR)$(sbindir); $(RMF) bacula-tray-monitor)