From eec5b77db79b51a2db567f95a66280f51c054692 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 22 Jul 2023 21:12:05 +0200 Subject: bin/db-update: make step re-runable * mkdir needs -p to not complain about already-existing directory --- bin/db-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/db-update b/bin/db-update index dbbb53f..2d0f50e 100755 --- a/bin/db-update +++ b/bin/db-update @@ -736,7 +736,7 @@ mysql_query_update_replaced_bpir() { # and push our local *.db.tar.gz via rsync while read -r arch repo; do { - printf 'mkdir "%s/recompress_gz.tmp"\n' \ + printf 'mkdir -p "%s/recompress_gz.tmp"\n' \ "${perma_tmp_dir}" printf 'recompress_gz "%s/recompress_gz.tmp"' \ "${perma_tmp_dir}" -- cgit v1.2.3-70-g09d2