]> git.pld-linux.org Git - packages/bacula.git/blame - bacula-mtx-changer.patch
- fix deps that are incorrect in rpm 4
[packages/bacula.git] / bacula-mtx-changer.patch
CommitLineData
6129bbb2
JR
1diff -urNp -x '*.orig' bacula-9.4.2.org/scripts/mtx-changer.in bacula-9.4.2/scripts/mtx-changer.in
2--- bacula-9.4.2.org/scripts/mtx-changer.in 2019-02-04 17:47:31.000000000 +0100
3+++ bacula-9.4.2/scripts/mtx-changer.in 2021-09-26 09:47:51.139744008 +0200
4@@ -65,13 +65,13 @@
5 myversion=2
90768cc3 6
7 # source our conf file
a2795453
ER
8-if test ! -f @scriptdir@/mtx-changer.conf ; then
9+if test ! -f /etc/bacula/mtx-changer.conf ; then
10 echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
11- echo "ERROR: @scriptdir@/mtx-changer.conf file not found!!!!"
12+ echo "ERROR: /etc/bacula/mtx-changer.conf file not found!!!!"
13 echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
14 exit 1
15 fi
90768cc3 16-. @scriptdir@/mtx-changer.conf
17+. /etc/bacula/mtx-changer.conf
18
6129bbb2
JR
19 if test "${version}" != "${myversion}" ; then
20 echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
This page took 0.071558 seconds and 4 git commands to generate.