]> TLD Linux GIT Repositories - packages/bacula.git/blob - bacula-mtx-changer.patch
- release 2
[packages/bacula.git] / bacula-mtx-changer.patch
1 diff -ur bacula-7.2.0.orig/scripts/mtx-changer.in bacula-7.2.0/scripts/mtx-changer.in
2 --- bacula-7.2.0.orig/scripts/mtx-changer.in    2015-08-13 13:52:24.000000000 +0000
3 +++ bacula-7.2.0/scripts/mtx-changer.in 2015-10-26 07:07:13.370083332 +0000
4 @@ -66,13 +66,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 "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"