From 92aa69da7bec790286857c836884be6b7986ce4d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 16 Jul 2023 21:12:31 +0200 Subject: bin/db-update: use perma_tmp_dir in all intentions, tmp_dir is gone, if the intention needs to be re-executed --- bin/db-update | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') 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}" \ -- cgit v1.2.3-54-g00ecf