]> TLD Linux GIT Repositories - packages/bacula.git/blob - bacula-mtx-changer.patch
c40c6cf340d00afaeca2a1ebf3c93cca2e0164c3
[packages/bacula.git] / bacula-mtx-changer.patch
1 --- bacula-5.0.1/scripts/mtx-changer.in~        2010-02-24 17:33:48.000000000 +0200
2 +++ bacula-5.0.1/scripts/mtx-changer.in 2010-02-25 11:49:14.545143118 +0200
3 @@ -47,13 +47,13 @@
4  #
5  
6  # source our conf file
7 -if test ! -f @scriptdir@/mtx-changer.conf ; then
8 +if test ! -f /etc/bacula/mtx-changer.conf ; then
9    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
10 -  echo "ERROR: @scriptdir@/mtx-changer.conf file not found!!!!"
11 +  echo "ERROR: /etc/bacula/mtx-changer.conf file not found!!!!"
12    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
13    exit 1
14  fi
15 -. @scriptdir@/mtx-changer.conf
16 +. /etc/bacula/mtx-changer.conf
17  
18  MTX=@MTX@
19