diff options
| -rwxr-xr-x | devuan_package_mirror_sync.sh | 2 |
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)) | |||
| 108 | resultM=$( 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 ) | 108 | resultM=$( 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 ) |
| 109 | resultC=$( echo "$resultC" | grep -Ev '/$|\.svg|\.txt$|\.txt.old$|versionlog\.state|log/sources|aintainers$|/by-hash/' | head -n -3 | tail -n +2 ) | 109 | resultC=$( echo "$resultC" | grep -Ev '/$|\.svg|\.txt$|\.txt.old$|versionlog\.state|log/sources|aintainers$|/by-hash/' | head -n -3 | tail -n +2 ) |
| 110 | if [ -n "$resultM" ] ; then echo -e "$resultM\n"; fi | 110 | if [ -n "$resultM" ] ; then echo -e "$resultM\n"; fi |
| 111 | if [ $durationM -gt 4000 ] || [ -n "$resultM" ] ; then echo -e "Main rsync time: $durationM ms.\n"; fi | 111 | if [ $durationM -gt 4500 ] || [ -n "$resultM" ] ; then echo -e "Main rsync time: $durationM ms.\n"; fi |
| 112 | if [ -n "$resultC" ] ; then echo -e "$resultC\n"; fi | 112 | if [ -n "$resultC" ] ; then echo -e "$resultC\n"; fi |
| 113 | if [ $durationC -gt 3000 ] || [ -n "$resultC" ] ; then echo -e "Clean up rsync time: $durationC ms.\n"; fi | 113 | if [ $durationC -gt 3000 ] || [ -n "$resultC" ] ; then echo -e "Clean up rsync time: $durationC ms.\n"; fi |
