diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rpmfi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rpmfi.c b/lib/rpmfi.c index cf968bdab..c61ba21e5 100644 --- a/lib/rpmfi.c +++ b/lib/rpmfi.c @@ -659,7 +659,8 @@ int rpmfiConfigConflictIndex(rpmfi fi, int ix) struct stat sb; int rc = 0; - if (!(flags & RPMFILE_CONFIG)) + /* Non-configs and ghosts are not config conflicts. */ + if (!(flags & RPMFILE_CONFIG) || (flags & RPMFILE_GHOST)) return 0; /* Only links and regular files can be %config, this is kinda moot */ |