Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-update6
1 files 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'