X-Git-Url: https://git.tld-linux.org/?p=packages%2Fbacula.git;a=blobdiff_plain;f=bacula-mtx-changer.patch;h=85bd3711748acf6267dd55b4648edd81395b80e8;hp=c40c6cf340d00afaeca2a1ebf3c93cca2e0164c3;hb=d1a4191a2b9c69a14d4025ebed1cef3e521b77e3;hpb=a4a758a944036e80ec1281b785efc93a0742414f diff --git a/bacula-mtx-changer.patch b/bacula-mtx-changer.patch index c40c6cf..85bd371 100644 --- a/bacula-mtx-changer.patch +++ b/bacula-mtx-changer.patch @@ -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 "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"