df1dee
diff -Naur bacula-11.0.0.old/examples/nagios/check_bacula/Makefile.in bacula-11.0.0/examples/nagios/check_bacula/Makefile.in
df1dee
--- bacula-11.0.0.old/examples/nagios/check_bacula/Makefile.in	2021-01-15 14:28:41.415719526 +0100
df1dee
+++ bacula-11.0.0/examples/nagios/check_bacula/Makefile.in	2021-01-15 15:01:26.371678793 +0100
df1dee
@@ -72,7 +72,8 @@
df1dee
 	(cd $(srcdir); $(RMF) Makefile)
df1dee
 
df1dee
 install: all
df1dee
-	$(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) .libs/check_bacula $(DESTDIR)$(sbindir)/check_bacula
df1dee
+	$(MKDIR) $(DESTDIR)$(libdir)/nagios/plugins
df1dee
+	$(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) .libs/check_bacula $(DESTDIR)$(libdir)/nagios/plugins/check_bacula
df1dee
 
df1dee
 uninstall:
df1dee
 	(cd $(DESTDIR)$(sbindir); $(RMF) check_bacula)