summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-08 12:47:06 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-08 12:47:06 +0200
commitff0745c50507f0cea48dbf97b8f55734698e3c13 (patch)
tree97c2868e95b07e2d98738db9472511b40ade387a /db-update
parentd0b5dcb3ce6a1ec5222fc7a0420b3e1dc4c3a27e (diff)
downloaddbscripts-ff0745c50507f0cea48dbf97b8f55734698e3c13.tar.gz
dbscripts-ff0745c50507f0cea48dbf97b8f55734698e3c13.tar.xz
Prepare for variable db file compression
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update1
1 files changed, 1 insertions, 0 deletions
diff --git a/db-update b/db-update
index a08bee2..d08c96d 100755
--- a/db-update
+++ b/db-update
@@ -222,6 +222,7 @@ for current_arch in ${ARCHES[@]}; do
if ! /bin/cp "$WORKDIR/build/$reponame-$current_arch$DBEXT" "$ftppath/$reponame$DBEXT"; then
die "failed to move repository $reponame-$current_arch".
fi
+ ln -sf "$reponame$DBEXT" "$ftppath/$reponame${DBEXT%.tar.*}"
else
echo "Nothing to copy, no work done"
fi