summaryrefslogtreecommitdiff
path: root/sign-and-upload-all
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-06-23 17:22:58 +0200
committerErich Eckner <git@eckner.net>2024-06-25 13:10:05 +0200
commitfb469c7e06771b74bd75eaa75420090df2be5284 (patch)
treeef0807dc75e301e1fceac87b0c70f46e57a60b58 /sign-and-upload-all
parent8a55404231a5e6b0f7303b254a9327cb69e85f4f (diff)
downloadarchlinuxewe-fb469c7e06771b74bd75eaa75420090df2be5284.tar.xz
sign-and-upload-all: really no db on any
Diffstat (limited to 'sign-and-upload-all')
-rwxr-xr-xsign-and-upload-all8
1 files changed, 4 insertions, 4 deletions
diff --git a/sign-and-upload-all b/sign-and-upload-all
index 5f97c5ab5..02cf1265a 100755
--- a/sign-and-upload-all
+++ b/sign-and-upload-all
@@ -29,13 +29,13 @@ for distro in arch artix; do
|| exit 1
arch="${pkg##*-}"
arch="${arch%%.*}"
- archs["${arch}"]="${archs["${arch}"]} ${pkg}"
+ archs["${arch}"]=1
done
for arch in "${!archs[@]}"; do
- rsync -av --progress --ignore-existing $(printf '%s\n' ${archs["${arch}"]} | sed 'p;s@$@\,.sig@') ${distro}linuxewe@eckner.net:os/${arch}/
+ rsync -av --progress --ignore-existing */${distro}/*-${arch}.pkg.tar.zst{,.sig} ${distro}linuxewe@eckner.net:os/${arch}/
pkgs=$(
- printf '%s\n' ${archs["${arch}"]} \
+ printf '%s\n' */${distro}/*-${arch}.pkg.tar.zst \
| sed 's@^.*/@@' \
| tr '\n' ' '
)
@@ -44,7 +44,7 @@ for distro in arch artix; do
ssh ${distro}linuxewe@eckner.net '
cd os
for arch in */; do
- [ "${arch}" = 'any' ] && continue
+ [ "${arch}" = 'any/' ] && continue
cd ${arch}
for pkg in '"${pkgs}"'; do
ln -s ../any/${pkg}