summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-05-06 21:29:04 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-05-06 21:29:04 +0200
commit787ec348cf0143b658e0252766e9e415950534a2 (patch)
tree91e8ddfc607ceb397e6eea65f3163836a0770637 /db-update
parent05ee55ef20d9e9085f38d95eb303a5b2613a9563 (diff)
downloaddbscripts-787ec348cf0143b658e0252766e9e415950534a2.tar.gz
dbscripts-787ec348cf0143b658e0252766e9e415950534a2.tar.xz
db-update: remove 'touch' of empty db file
repo-add handles this on its own Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update2
1 files changed, 0 insertions, 2 deletions
diff --git a/db-update b/db-update
index 426a236..ae99cb0 100755
--- a/db-update
+++ b/db-update
@@ -150,8 +150,6 @@ for A in ${ARCHES[@]}; do
echo "==> Copying DB file from '$reponame'..." >&2
if [ -f "$ftppath/$reponame.db.tar.$DB_COMPRESSION" ]; then
/bin/cp "$ftppath/$reponame.db.tar.$DB_COMPRESSION" build/
- else
- touch "build/$reponame.db.tar.$DB_COMPRESSION"
fi
echo "==> Processing new/updated packages for repository '$reponame'..." >&2