From be6619026a0011696b14968d9cbf15d96c0543a5 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Nov 29 2022 12:26:08 +0000 Subject: Fix typo --- diff --git a/bacula-scrips.patch b/bacula-scrips.patch deleted file mode 100644 index e008cf7..0000000 --- a/bacula-scrips.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur bacula-13.0.1.old/scripts/isworm bacula-13.0.1/scripts/isworm ---- bacula-13.0.1.old/scripts/isworm 2022-08-05 17:13:35.000000000 +0200 -+++ bacula-13.0.1/scripts/isworm 2022-11-29 11:04:03.313337376 +0100 -@@ -46,7 +46,7 @@ - # but it does not work for mhvtl. Comment out the next 5 lines - # and the code that follows will detect correctly on mhtvl. - # --worm=`$sdparm --page=0x1D -f $1 |grep " *WORMM"|cut -b12-16|sed "s:^ *::"` -+worm=`$sdparm --page=0x1D -f $1 |grep "WORMM"|cut -b12-16|sed "s:^ *::"` - if [ $? = 0 ] ; then - echo $worm - exit 0 diff --git a/bacula-scripts.patch b/bacula-scripts.patch new file mode 100644 index 0000000..e008cf7 --- /dev/null +++ b/bacula-scripts.patch @@ -0,0 +1,12 @@ +diff -Naur bacula-13.0.1.old/scripts/isworm bacula-13.0.1/scripts/isworm +--- bacula-13.0.1.old/scripts/isworm 2022-08-05 17:13:35.000000000 +0200 ++++ bacula-13.0.1/scripts/isworm 2022-11-29 11:04:03.313337376 +0100 +@@ -46,7 +46,7 @@ + # but it does not work for mhvtl. Comment out the next 5 lines + # and the code that follows will detect correctly on mhtvl. + # +-worm=`$sdparm --page=0x1D -f $1 |grep " *WORMM"|cut -b12-16|sed "s:^ *::"` ++worm=`$sdparm --page=0x1D -f $1 |grep "WORMM"|cut -b12-16|sed "s:^ *::"` + if [ $? = 0 ] ; then + echo $worm + exit 0