summaryrefslogtreecommitdiff
path: root/db-update
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-12-01 19:02:09 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2008-12-01 19:02:09 -0600
commit1f48eaf35eecd0b35208d29d6fe6c0a8af7796df (patch)
tree73fc7a00074ee7ef6ac853a83cd1cd7631bbb631 /db-update
parent73c8c32f315a6a7c493479bbbb9c322d098e9076 (diff)
Do not touch db file if it doesn't exist
repo-add works fine if no db file exists 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 1d2efa2..0c2d1fe 100755
--- a/db-update
+++ b/db-update
@@ -74,8 +74,6 @@ cd "$WORKDIR"
# copy the db file into our working area
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 "Updating DB for $reponame $_arch"