recoginizes files that have intentionally not been installed

CVS patchset: 505
CVS date: 1996/03/29 20:50:53
This commit is contained in:
ewt 1996-03-29 20:50:53 +00:00
parent 04bf634ef0
commit 82bf92cbb8
1 changed files with 6 additions and 4 deletions

10
query.c
View File

@ -153,14 +153,16 @@ static void printHeader(Header h, int queryFlags) {
if (fileStatesList) {
switch (fileStatesList[i]) {
case RPMFILE_STATE_NORMAL:
fputs("normal ", stdout); break;
fputs("normal ", stdout); break;
case RPMFILE_STATE_REPLACED:
fputs("replaced ", stdout); break;
fputs("replaced ", stdout); break;
case RPMFILE_STATE_NOTINSTALLED:
fputs("not installed ", stdout); break;
default:
fputs("unknown ", stdout);
fputs("(unknown) ", stdout);
}
} else {
fputs("(no state) ", stdout);
fputs( "(no state) ", stdout);
}
}