summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-12-02 02:02:09 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2008-12-02 02:02:09 +0100
commit1f48eaf35eecd0b35208d29d6fe6c0a8af7796df (patch)
tree73fc7a00074ee7ef6ac853a83cd1cd7631bbb631
parent73c8c32f315a6a7c493479bbbb9c322d098e9076 (diff)
downloaddbscripts-1f48eaf35eecd0b35208d29d6fe6c0a8af7796df.tar.gz
dbscripts-1f48eaf35eecd0b35208d29d6fe6c0a8af7796df.tar.xz
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>
-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"