]> TLD Linux GIT Repositories - packages/bacula.git/blob - bacula-mtx-changer.patch
- fix shebang fix
[packages/bacula.git] / bacula-mtx-changer.patch
1 diff -ur bacula-15.0.2.orig/scripts/mtx-changer.in bacula-15.0.2/scripts/mtx-changer.in
2 --- bacula-15.0.2.orig/scripts/mtx-changer.in   2024-03-22 10:48:41.000000000 +0100
3 +++ bacula-15.0.2/scripts/mtx-changer.in        2024-06-09 12:52:53.875961510 +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 "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"