]> git.pld-linux.org Git - packages/bacula.git/blob - bacula-mtx-changer.patch
12022fff21c4bb7afea3e25ebda557600f0d1015
[packages/bacula.git] / bacula-mtx-changer.patch
1 diff -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
6  
7  # source our conf file
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
16 -. @scriptdir@/mtx-changer.conf
17 +. /etc/bacula/mtx-changer.conf
18  
19  if test "${version}" != "${myversion}" ; then
20    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
This page took 0.058572 seconds and 2 git commands to generate.