From d557887db8c168cb637edc2a4cada866700abcd3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 20 Mar 2020 16:40:20 +0100 Subject: bin/db-update: do not rename, rather rm and ln -s - to keep the file date up-to-date --- bin/db-update | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/db-update b/bin/db-update index 54304ee..ef03d96 100755 --- a/bin/db-update +++ b/bin/db-update @@ -652,8 +652,10 @@ export TMPDIR="${tmp_dir}" "${perma_tmp_dir}" printf ' sed '"'"'\n' printf ' s,^\\(\\S\\+\\) \\(\\S\\+\\) \\(\\S\\+\\) \\(\\S\\+\\) \\(\\S\\+\\)$,' - printf 'rename "\\2/\\3/\\1" "\\4/\\5/\\1"\\n' - printf 'rename "\\2/\\3/\\1.sig" "\\4/\\5/\\1.sig",\n' + printf 'rm "\\2/\\3/\\1"\\n' + printf 'rm "\\2/\\3/\\1.sig"\\n' + printf 'ln -s "../../pool/\\1" "\\4/\\5/\\1"\\n' + printf 'ln -s "../../pool/\\1.sig" "\\4/\\5/\\1.sig",\n' printf ' '"'"' "%s/mv"\n' \ "${perma_tmp_dir}" printf ' echo quit\n' -- cgit v1.2.3-70-g09d2