Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-07-16 21:12:31 +0200
committerErich Eckner <git@eckner.net>2023-07-16 21:12:31 +0200
commit92aa69da7bec790286857c836884be6b7986ce4d (patch)
tree33b4a4ed26525a485a31e88a02f6dcfb9cc8df70 /bin/db-update
parentc43919fa28e75719a46e607f5b1a282b1b1f02c3 (diff)
bin/db-update: use perma_tmp_dir in all intentions, tmp_dir is gone, if the intention needs to be re-executed
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/db-update b/bin/db-update
index ab86cda..dbbb53f 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -736,8 +736,10 @@ mysql_query_update_replaced_bpir() {
# and push our local *.db.tar.gz via rsync
while read -r arch repo; do
{
- printf 'recompress_gz "%s"' \
- "${tmp_dir}"
+ printf 'mkdir "%s/recompress_gz.tmp"\n' \
+ "${perma_tmp_dir}"
+ printf 'recompress_gz "%s/recompress_gz.tmp"' \
+ "${perma_tmp_dir}"
for suffix in '' '.old'; do
printf ' "%s/dbs/%s/%s/%s."*".tar.gz%s"' \
"${perma_tmp_dir}" \