]> git.pld-linux.org Git - packages/bacula.git/blob - bacula-mtx-changer.patch
Release 2 (by relup.sh)
[packages/bacula.git] / bacula-mtx-changer.patch
1 diff -ur bacula-11.0.6.orig/scripts/mtx-changer.in bacula-11.0.6/scripts/mtx-changer.in
2 --- bacula-11.0.6.orig/scripts/mtx-changer.in   2022-03-10 15:57:01.000000000 +0000
3 +++ bacula-11.0.6/scripts/mtx-changer.in        2022-04-03 11:28:37.710899617 +0000
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.151394 seconds and 4 git commands to generate.