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.sh4
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))
94rsltM=$( 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 ) 94rsltM=$( 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 )
95rsltC=$( echo "$rsltC" | grep -Ev '/$|\.svg|\.txt$|\.txt.old$|versionlog\.state|log/sources|aintainers$|/by-hash/' | head -n -3 | tail -n +2 ) 95rsltC=$( echo "$rsltC" | grep -Ev '/$|\.svg|\.txt$|\.txt.old$|versionlog\.state|log/sources|aintainers$|/by-hash/' | head -n -3 | tail -n +2 )
96if [ -n "$rsltM" ] ; then echo -e "$rsltM\n"; fi 96if [ -n "$rsltM" ] ; then echo -e "$rsltM\n"; fi
97if [ $durationM -gt 3000 ] || [ -n "$rsltM" ] ; then echo -e "Main rsync time: $durationM ms.\n"; fi 97if [ $durationM -gt 4000 ] || [ -n "$rsltM" ] ; then echo -e "Main rsync time: $durationM ms.\n"; fi
98if [ -n "$rsltC" ] ; then echo -e "$rsltC\n"; fi 98if [ -n "$rsltC" ] ; then echo -e "$rsltC\n"; fi
99if [ $durationC -gt 2000 ] || [ -n "$rsltC" ] ; then echo -e "Clean up rsync time: $durationC ms.\n"; fi 99if [ $durationC -gt 3000 ] || [ -n "$rsltC" ] ; then echo -e "Clean up rsync time: $durationC ms.\n"; fi