diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-12-01 19:02:09 -0600 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-12-01 19:02:09 -0600 |
commit | 1f48eaf35eecd0b35208d29d6fe6c0a8af7796df (patch) | |
tree | 73fc7a00074ee7ef6ac853a83cd1cd7631bbb631 /db-update | |
parent | 73c8c32f315a6a7c493479bbbb9c322d098e9076 (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-x | db-update | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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" |