From 3eed102f115bac5dbf37b4866b3d2deaf5760ec8 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 19 Nov 2008 14:06:37 +0200 Subject: Erm erm, really use the rpmfi creation flags in rpmteNew() - this part was missing from 763cbf05b57da940d2972e0b448548481be400c6 --- lib/rpmte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rpmte.c') diff --git a/lib/rpmte.c b/lib/rpmte.c index a264ecbab..6440fcc4a 100644 --- a/lib/rpmte.c +++ b/lib/rpmte.c @@ -142,7 +142,7 @@ static void addTE(rpmts ts, rpmte p, Header h, fiflags = (p->type == TR_ADDED) ? (RPMFI_NOHEADER | RPMFI_FLAGS_INSTALL) : (RPMFI_NOHEADER | RPMFI_FLAGS_ERASE); savep = rpmtsSetRelocateElement(ts, p); - p->fi = rpmfiNew(ts, h, RPMTAG_BASENAMES, RPMFI_NOHEADER|RPMFI_NOFILECLASS); + p->fi = rpmfiNew(ts, h, RPMTAG_BASENAMES, fiflags); (void) rpmtsSetRelocateElement(ts, savep); rpmteColorDS(p, RPMTAG_PROVIDENAME); -- cgit v1.2.3