All scripts require sh, so use that also for the backup report

This commit is contained in:
Simone Caronni 2021-04-16 14:27:01 +02:00
parent 4df972f69d
commit 657fef989b

View File

@ -3,7 +3,7 @@
Name: bacula
Version: 11.0.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
# See LICENSE for details
License: AGPLv3 with exceptions
@ -297,7 +297,7 @@ autoconf -I autoconf/ -o configure autoconf/configure.in
find updatedb -type f | xargs chmod -x
# Remove dash requirement:
sed -i -e 's|bin/dash|/usr/bin/bash|g' scripts/baculabackupreport.in
sed -i -e 's|/bin/dash|/bin/sh|g' scripts/baculabackupreport.in
%build
export CFLAGS="%{optflags} -I%{_includedir}/ncurses"
@ -632,6 +632,9 @@ exit 0
%{_libdir}/nagios/plugins/check_bacula
%changelog
* Fri Apr 16 2021 Simone Caronni <negativo17@gmail.com> - 11.0.2-3
- All scripts require sh, so use that also for the backup report.
* Fri Apr 16 2021 Simone Caronni <negativo17@gmail.com> - 11.0.2-2
- Remove dash build requirement.