diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-12-02 02:02:09 +0100 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-12-02 02:02:09 +0100 |
commit | 1f48eaf35eecd0b35208d29d6fe6c0a8af7796df (patch) | |
tree | 73fc7a00074ee7ef6ac853a83cd1cd7631bbb631 | |
parent | 73c8c32f315a6a7c493479bbbb9c322d098e9076 (diff) | |
download | dbscripts-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-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" |