summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2022-11-06 18:18:21 +0100
committerErich Eckner <erich.eckner.ext@bestsecret.com>2022-11-06 18:18:21 +0100
commitc31b9b9cc9c55c054315a50a3716b034ee22feed (patch)
tree06aa764ef1a11c4e0a5c6beca55aa82ce89e2736 /archPackagesUpdate
parentd171285858340883284b149bd27b8ce13195d19a (diff)
downloadarchlinuxewe-c31b9b9cc9c55c054315a50a3716b034ee22feed.tar.xz
archPackagesUpdate: add upload progress
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate7
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'