aboutsummaryrefslogtreecommitdiffstats
path: root/devuan_package_mirror_sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'devuan_package_mirror_sync.sh')
-rwxr-xr-xdevuan_package_mirror_sync.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devuan_package_mirror_sync.sh b/devuan_package_mirror_sync.sh
index c8d05f0..1361d05 100755
--- a/devuan_package_mirror_sync.sh
+++ b/devuan_package_mirror_sync.sh
@@ -108,6 +108,6 @@ endTime=$(date +%s%3N) ; durationC=$((endTime - startTime))
108resultM=$( echo "$resultM" | grep -Ev '/$|\.svg|\.txt$|\.txt.old$|versionlog\.state|log/sources|aintainers$|/by-hash/|skipping non-regular file' | head -n -4 | tail -n +2 ) 108resultM=$( echo "$resultM" | grep -Ev '/$|\.svg|\.txt$|\.txt.old$|versionlog\.state|log/sources|aintainers$|/by-hash/|skipping non-regular file' | head -n -4 | tail -n +2 )
109resultC=$( echo "$resultC" | grep -Ev '/$|\.svg|\.txt$|\.txt.old$|versionlog\.state|log/sources|aintainers$|/by-hash/' | head -n -3 | tail -n +2 ) 109resultC=$( echo "$resultC" | grep -Ev '/$|\.svg|\.txt$|\.txt.old$|versionlog\.state|log/sources|aintainers$|/by-hash/' | head -n -3 | tail -n +2 )
110if [ -n "$resultM" ] ; then echo -e "$resultM\n"; fi 110if [ -n "$resultM" ] ; then echo -e "$resultM\n"; fi
111if [ $durationM -gt 4000 ] || [ -n "$resultM" ] ; then echo -e "Main rsync time: $durationM ms.\n"; fi 111if [ $durationM -gt 4500 ] || [ -n "$resultM" ] ; then echo -e "Main rsync time: $durationM ms.\n"; fi
112if [ -n "$resultC" ] ; then echo -e "$resultC\n"; fi 112if [ -n "$resultC" ] ; then echo -e "$resultC\n"; fi
113if [ $durationC -gt 3000 ] || [ -n "$resultC" ] ; then echo -e "Clean up rsync time: $durationC ms.\n"; fi 113if [ $durationC -gt 3000 ] || [ -n "$resultC" ] ; then echo -e "Clean up rsync time: $durationC ms.\n"; fi