diff options
Diffstat (limited to 'devuan_package_mirror_sync.sh')
| -rwxr-xr-x | devuan_package_mirror_sync.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devuan_package_mirror_sync.sh b/devuan_package_mirror_sync.sh index bb8fa66..0f6ff3e 100755 --- a/devuan_package_mirror_sync.sh +++ b/devuan_package_mirror_sync.sh | |||
| @@ -94,6 +94,6 @@ end_time=$(date +%s%3N) ; durationC=$((end_time - start_time)) | |||
| 94 | rsltM=$( echo "$rsltM" | grep -Ev '/$|\.svg|\.txt$|\.txt.old$|versionlog\.state|log/sources|aintainers$|/by-hash/|skipping non-regular file' | head -n -4 | tail -n +2 ) | 94 | rsltM=$( echo "$rsltM" | grep -Ev '/$|\.svg|\.txt$|\.txt.old$|versionlog\.state|log/sources|aintainers$|/by-hash/|skipping non-regular file' | head -n -4 | tail -n +2 ) |
| 95 | rsltC=$( echo "$rsltC" | grep -Ev '/$|\.svg|\.txt$|\.txt.old$|versionlog\.state|log/sources|aintainers$|/by-hash/' | head -n -3 | tail -n +2 ) | 95 | rsltC=$( echo "$rsltC" | grep -Ev '/$|\.svg|\.txt$|\.txt.old$|versionlog\.state|log/sources|aintainers$|/by-hash/' | head -n -3 | tail -n +2 ) |
| 96 | if [ -n "$rsltM" ] ; then echo -e "$rsltM\n"; fi | 96 | if [ -n "$rsltM" ] ; then echo -e "$rsltM\n"; fi |
| 97 | if [ $durationM -gt 3000 ] || [ -n "$rsltM" ] ; then echo -e "Main rsync time: $durationM ms.\n"; fi | 97 | if [ $durationM -gt 4000 ] || [ -n "$rsltM" ] ; then echo -e "Main rsync time: $durationM ms.\n"; fi |
| 98 | if [ -n "$rsltC" ] ; then echo -e "$rsltC\n"; fi | 98 | if [ -n "$rsltC" ] ; then echo -e "$rsltC\n"; fi |
| 99 | if [ $durationC -gt 2000 ] || [ -n "$rsltC" ] ; then echo -e "Clean up rsync time: $durationC ms.\n"; fi | 99 | if [ $durationC -gt 3000 ] || [ -n "$rsltC" ] ; then echo -e "Clean up rsync time: $durationC ms.\n"; fi |
