Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 2e0d7db..1eba7ac 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -576,6 +576,10 @@ find . \( -name '*.pkg.tar.xz' -o -name '*.pkg.tar.xz.sig' \) -printf '%f\n' | \
cut -d' ' -f4,5 "${tmp_dir}/repository-ids" | \
sort -u | \
while read -r arch repo; do
+ recompress_gz \
+ "${tmp_dir}" \
+ "${arch}/${repo}/${repo}."*".tar.gz" \
+ "${arch}/${repo}/${repo}."*".tar.gz.old"
# shellcheck disable=SC2046
${master_mirror_rsync_command} \
"${arch}/${repo}/${repo}.db."* \