diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2022-11-06 18:18:21 +0100 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2022-11-06 18:18:21 +0100 |
commit | c31b9b9cc9c55c054315a50a3716b034ee22feed (patch) | |
tree | 06aa764ef1a11c4e0a5c6beca55aa82ce89e2736 /archPackagesUpdate | |
parent | d171285858340883284b149bd27b8ce13195d19a (diff) | |
download | archlinuxewe-c31b9b9cc9c55c054315a50a3716b034ee22feed.tar.xz |
archPackagesUpdate: add upload progress
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-x | archPackagesUpdate | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate index 95a2745e7..9111123d9 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -772,6 +772,13 @@ for ((i=0; i<${#pakete[@]}; i++)); do printf " %s-${vers}-${arch}.pkg.tar.zst" "${paket_teile[@]}" printf " %s-${vers}-${arch}.pkg.tar.zst.sig" "${paket_teile[@]}" ) | \ + pv -s $( + cat $( + printf " %s-${vers}-${arch}.pkg.tar.zst" "${paket_teile[@]}" + printf " %s-${vers}-${arch}.pkg.tar.zst.sig" "${paket_teile[@]}" + ) | \ + wc -c + ) | \ ssh archlinuxewe@eckner.net "$( printf 'tmp_archive=$(mktemp)\n' |