From c69903d87152ecf926afb09839671acec532fc71 Mon Sep 17 00:00:00 2001 From: msw Date: Mon, 12 Apr 1999 21:03:50 +0000 Subject: [PATCH] don't report disk space problems for packages w/ no files CVS patchset: 2986 CVS date: 1999/04/12 21:03:50 --- lib/transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transaction.c b/lib/transaction.c index 3c06cf1..398d8a2 100644 --- a/lib/transaction.c +++ b/lib/transaction.c @@ -415,7 +415,7 @@ int rpmRunTransactions(rpmTransactionSet ts, rpmCallbackFunction notify, handleOverlappedFiles(fi, ht, (ignoreSet & RPMPROB_FILTER_REPLACENEWFILES) ? NULL : probs, di); - if (di && fi->type == TR_ADDED) { + if (di && fi->type == TR_ADDED && fi->fc) { for (i = 0; i < filesystemCount; i++) { if (((di[i].needed * 20) / 19)> di[i].avail) { psAppend(probs, RPMPROB_DISKSPACE, fi->ap->key, fi->ap->h, -- 2.7.4