Do not print warning with files entry in sync db
repo-add can add a "files" entry into the sync db. Currently we do nothing with this file, so explicitly skip it to prevent unknown database file warnings. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
0b6aa428cf
commit
f2023176f6
|
@ -432,9 +432,11 @@ static int sync_db_read(pmdb_t *db, struct archive *archive,
|
|||
READ_AND_STORE_ALL(pkg->deltas);
|
||||
}
|
||||
}
|
||||
} else if(strcmp(filename, "files") == 0) {
|
||||
/* currently do nothing with this file */
|
||||
} else {
|
||||
/* unknown database file */
|
||||
_alpm_log(PM_LOG_DEBUG, "unknown database file: %s", filename);
|
||||
/* unknown database file */
|
||||
_alpm_log(PM_LOG_DEBUG, "unknown database file: %s\n", filename);
|
||||
}
|
||||
|
||||
error:
|
||||
|
|
Loading…
Reference in New Issue