diff options
Diffstat (limited to 'sysutils/bacula/patches/patch-aa')
-rw-r--r-- | sysutils/bacula/patches/patch-aa | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/bacula/patches/patch-aa b/sysutils/bacula/patches/patch-aa new file mode 100644 index 00000000000..090409884ee --- /dev/null +++ b/sysutils/bacula/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/11/06 16:17:38 mjl Exp $ + +--- src/dird/Makefile.in.orig 2004-09-24 14:30:13.000000000 +0200 ++++ src/dird/Makefile.in 2004-11-06 15:52:17.000000000 +0100 +@@ -98,14 +98,9 @@ + install: all + $(INSTALL_PROGRAM) bacula-dir $(DESTDIR)$(sbindir)/bacula-dir + @srcconf=bacula-dir.conf; \ +- if test -f ${DESTDIR}${sysconfdir}/$$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 ++ destconf=$$srcconf; \ ++ echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${prefix}/share/examples/bacula/$$destconf"; \ ++ ${INSTALL_CONFIG} $$srcconf ${DESTDIR}${prefix}/share/examples/bacula/$$destconf + @if test -f ${DESTDIR}${scriptdir}/query.sql; then \ + echo " ==> Saving existing query.sql to query.sql.old"; \ + $(MV) -f ${DESTDIR}${scriptdir}/query.sql ${DESTDIR}${scriptdir}/query.sql.old; \ |