034d10250f
- remove useless patches - spec file cleanup
16 lines
850 B
Diff
16 lines
850 B
Diff
diff -up sysstat-8.0.1/sa2.in.pom sysstat-8.0.1/sa2.in
|
|
--- sysstat-8.0.1/sa2.in.pom 2007-09-08 14:18:25.000000000 +0200
|
|
+++ sysstat-8.0.1/sa2.in 2007-10-22 18:50:25.000000000 +0200
|
|
@@ -48,9 +48,9 @@ DFILE=${CURRENTDIR}/${CURRENTFILE}
|
|
cd ${ENDIR}
|
|
[ -L ${RPT} ] && rm -f ${RPT}
|
|
${ENDIR}/sar $* -f ${DFILE} > ${RPT}
|
|
-find ${DDIR} \( -name 'sar??' -o -name 'sa??' -o -name 'sar??.gz' -o -name 'sa??.gz' \) \
|
|
+find ${DDIR}/ \( -name 'sar??' -o -name 'sa??' -o -name 'sar??.gz' -o -name 'sa??.gz' \) \
|
|
-mtime +"${HISTORY}" -exec rm -f {} \;
|
|
-find ${DDIR} \( -name 'sar??' -o -name 'sa??' \) -type f -mtime +"${COMPRESSAFTER}" \
|
|
+find ${DDIR}/ \( -name 'sar??' -o -name 'sa??' \) -type f -mtime +"${COMPRESSAFTER}" \
|
|
-exec gzip -9 {} \; > /dev/null 2>&1
|
|
# Remove broken links
|
|
for f in `find ${DDIR} \( -name 'sar??' -o -name 'sa??' \) -type l`; do
|