From 1f48eaf35eecd0b35208d29d6fe6c0a8af7796df Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 1 Dec 2008 19:02:09 -0600 Subject: Do not touch db file if it doesn't exist repo-add works fine if no db file exists Signed-off-by: Aaron Griffin --- db-update | 2 -- 1 file changed, 2 deletions(-) (limited to 'db-update') 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" -- cgit v1.2.3-24-g4f1b