1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-10 11:35:00 -05:00

testdb: ignore ALPM_DB_VERSION

Replaces the test for hidden files which appears to be leftover from
2e431e1cc before sync db checking was moved to a separate function.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Andrew Gregory 2014-10-15 05:38:55 -04:00 committed by Allan McRae
parent 9d4d81783d
commit 82208c0239

View File

@ -69,7 +69,7 @@ static int check_localdb_files(void)
while((ent = readdir(dir)) != NULL) {
if(strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0
|| ent->d_name[0] == '.') {
|| strcmp(ent->d_name, "ALPM_DB_VERSION") == 0) {
continue;
}
/* check for known db files in local database */