From 73c6b39244d1f676f2a4c49c8ceebbc778d18146 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sat, 18 Sep 2021 20:02:35 +0200 Subject: [PATCH] - /bin/sh for scripts --- bacula.spec | 4 +++- no_dash.patch | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 no_dash.patch diff --git a/bacula.spec b/bacula.spec index 33602e6..9ae49d9 100644 --- a/bacula.spec +++ b/bacula.spec @@ -18,7 +18,7 @@ Summary: Bacula - The Network Backup Solution Summary(pl.UTF-8): Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci Name: bacula Version: 11.0.5 -Release: 1 +Release: 2 License: AGPL v3 Group: Networking/Utilities Source0: http://downloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz @@ -36,6 +36,7 @@ Patch2: %{name}-conf.patch Patch3: %{name}-desktop.patch Patch4: make_catalog_backup-setup-home.patch Patch5: %{name}-libtool.patch +Patch6: no_dash.patch URL: http://www.bacula.org/ BuildRequires: acl-devel BuildRequires: autoconf @@ -373,6 +374,7 @@ Nagios plugin to check bacula. %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 sed -i -e 's#bindir=.*#bindir=%{_bindir}#g' \ src/cats/create_* src/cats/delete_* src/cats/drop_* \ diff --git a/no_dash.patch b/no_dash.patch new file mode 100644 index 0000000..760928a --- /dev/null +++ b/no_dash.patch @@ -0,0 +1,8 @@ +--- bacula-11.0.5/scripts/baculabackupreport.in 2021-06-03 09:31:55.000000000 +0200 ++++ bacula-11.0.5/scripts/baculabackupreport.in 2021-09-18 20:00:26.394974508 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/dash ++#!/bin/sh + # + # baculabackupreport.sh + # -- 2.46.0