diff options
| author | onefang | 2026-02-09 04:03:16 +1000 |
|---|---|---|
| committer | onefang | 2026-02-09 04:03:16 +1000 |
| commit | ee0f1f3bbf731886ad8780b18a14a42cb2178cfd (patch) | |
| tree | 9e99be59bedc4f6699da23309fcaf8739a025f4d | |
| parent | Try again. (diff) | |
| download | devuan_package_mirror_sync-ee0f1f3bbf731886ad8780b18a14a42cb2178cfd.zip devuan_package_mirror_sync-ee0f1f3bbf731886ad8780b18a14a42cb2178cfd.tar.gz devuan_package_mirror_sync-ee0f1f3bbf731886ad8780b18a14a42cb2178cfd.tar.bz2 devuan_package_mirror_sync-ee0f1f3bbf731886ad8780b18a14a42cb2178cfd.tar.xz | |
Bump main time up.
| -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 |
