bacula/bacula-docker-plugin.patch
2022-07-08 16:23:07 +02:00

28 lines
996 B
Diff

diff -Naur bacula-13.0.0.old/autoconf/configure.in bacula-13.0.0/autoconf/configure.in
--- bacula-13.0.0.old/autoconf/configure.in 2022-07-08 14:53:19.765602625 +0200
+++ bacula-13.0.0/autoconf/configure.in 2022-07-08 14:54:32.972908546 +0200
@@ -3404,20 +3404,9 @@
]
)
if test x$support_docker = xyes -o x$support_docker = xauto; then
- AC_CHECK_PROG(docker_bin, docker, yes, no, "/usr/bin/")
- if test x$docker_bin = xyes; then
- support_docker=yes
- FD_PLUGIN_DIR="${FD_PLUGIN_DIR} src/plugins/fd/docker"
- FD_PLUGIN_INSTALL="${FD_PLUGIN_INSTALL} install-docker"
- else
- if test x$support_docker = xyes; then
- echo " "
- echo "You enabled a Docker Plugin build but 'docker' command not found."
- echo " "
- exit 1
- fi
- support_docker=no
- fi
+ support_docker=yes
+ FD_PLUGIN_DIR="${FD_PLUGIN_DIR} src/plugins/fd/docker"
+ FD_PLUGIN_INSTALL="${FD_PLUGIN_INSTALL} install-docker"
fi
dnl kubernetes Plugin