]> TLD Linux GIT Repositories - packages/bacula.git/blobdiff - bacula-mtx-changer.patch
- updated for 7.2.0
[packages/bacula.git] / bacula-mtx-changer.patch
index c40c6cf340d00afaeca2a1ebf3c93cca2e0164c3..85bd3711748acf6267dd55b4648edd81395b80e8 100644 (file)
@@ -1,7 +1,8 @@
---- bacula-5.0.1/scripts/mtx-changer.in~       2010-02-24 17:33:48.000000000 +0200
-+++ bacula-5.0.1/scripts/mtx-changer.in        2010-02-25 11:49:14.545143118 +0200
-@@ -47,13 +47,13 @@
- #
+diff -ur bacula-7.2.0.orig/scripts/mtx-changer.in bacula-7.2.0/scripts/mtx-changer.in
+--- bacula-7.2.0.orig/scripts/mtx-changer.in   2015-08-13 13:52:24.000000000 +0000
++++ bacula-7.2.0/scripts/mtx-changer.in        2015-10-26 07:07:13.370083332 +0000
+@@ -66,13 +66,13 @@
+ myversion=2
  
  # source our conf file
 -if test ! -f @scriptdir@/mtx-changer.conf ; then
@@ -15,5 +16,5 @@
 -. @scriptdir@/mtx-changer.conf
 +. /etc/bacula/mtx-changer.conf
  
- MTX=@MTX@
+ if test "${version}" != "${myversion}" ; then
+   echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"