summaryrefslogtreecommitdiff
path: root/lib/rpmte.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-11-19 14:06:37 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-11-19 14:06:37 +0200
commit3eed102f115bac5dbf37b4866b3d2deaf5760ec8 (patch)
tree56f4cd9e48fd95ad8f8f1c1c9027a8e793651ce5 /lib/rpmte.c
parent2a50bb83889aab7a2c65402fb7eabb548594cd0b (diff)
downloadrpm-3eed102f115bac5dbf37b4866b3d2deaf5760ec8.tar.gz
rpm-3eed102f115bac5dbf37b4866b3d2deaf5760ec8.tar.bz2
rpm-3eed102f115bac5dbf37b4866b3d2deaf5760ec8.zip
Erm erm, really use the rpmfi creation flags in rpmteNew()
- this part was missing from 763cbf05b57da940d2972e0b448548481be400c6
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r--lib/rpmte.c2
1 files changed, 1 insertions, 1 deletions
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);