From: Panu Matilainen Date: Thu, 9 Jul 2009 08:03:54 +0000 (+0300) Subject: Unbreak --excludepath (RhBug:409637) X-Git-Tag: tznext/4.11.0.1.tizen20130304~2903 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb8241dda783f7e8c143b08fecf57fe89a39c3a6;p=tools%2Flibrpm-tizen.git Unbreak --excludepath (RhBug:409637) - excluded paths aren't counted as actual relocations, dont bother checkig addPrefixes() return --- diff --git a/lib/rpmfi.c b/lib/rpmfi.c index 0ed871a..ea241c5 100644 --- a/lib/rpmfi.c +++ b/lib/rpmfi.c @@ -841,8 +841,7 @@ void rpmRelocateFileList(rpmRelocation *relocations, int numRelocations, int i, j; struct rpmtd_s bnames, dnames, dindexes, fmodes; - if (addPrefixes(h, relocations, numRelocations) == 0) - return; + addPrefixes(h, relocations, numRelocations); if (!_printed) { _printed = 1;