Blame SOURCES/sysstat-10.1.5-sa2-xz.patch

6b782c
diff -ur sysstat-10.1.5.orig/sa2.in sysstat-10.1.5/sa2.in
6b782c
--- sysstat-10.1.5.orig/sa2.in	2012-03-15 16:48:56.000000000 +0100
6b782c
+++ sysstat-10.1.5/sa2.in	2014-09-01 22:10:39.901270008 +0200
6b782c
@@ -50,7 +50,7 @@
6b782c
 cd ${ENDIR}
6b782c
 [ -L ${RPT} ] && rm -f ${RPT}
6b782c
 ${ENDIR}/sar $* -f ${DFILE} > ${RPT}
6b782c
-find ${DDIR} \( -name 'sar??' -o -name 'sa??' -o -name 'sar??.gz' -o -name 'sa??.gz' -o -name 'sar??.bz2' -o -name 'sa??.bz2' \) \
6b782c
+find ${DDIR} \( -name 'sar??' -o -name 'sa??' -o -name 'sar??.xz' -o -name 'sa??.xz' -o -name 'sar??.gz' -o -name 'sa??.gz' -o -name 'sar??.bz2' -o -name 'sa??.bz2' \) \
6b782c
 	-mtime +"${HISTORY}" -exec rm -f {} \;
6b782c
 find ${DDIR} \( -name 'sar??' -o -name 'sa??' \) -type f -mtime +"${COMPRESSAFTER}" \
6b782c
 	-exec ${ZIP} {} \; > /dev/null 2>&1