From 332cb7d273746dd98fc9cfd12a9ca4475ef7b961 Mon Sep 17 00:00:00 2001 From: Paul Nasrat Date: Mon, 16 Apr 2007 13:15:10 +0100 Subject: Allow "--ignoresize" for erase operations. Patch from OpenSuSE --- lib/rpminstall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/rpminstall.c b/lib/rpminstall.c index 36cd39deb..785b61230 100644 --- a/lib/rpminstall.c +++ b/lib/rpminstall.c @@ -850,7 +850,7 @@ int rpmErase(rpmts ts, struct rpmInstallArguments_s * ia, /* Drop added/available package indices and dependency sets. */ rpmtsClean(ts); - numPackages = rpmtsRun(ts, NULL, 0); + numPackages = rpmtsRun(ts, NULL, ia->probFilter & (RPMPROB_FILTER_DISKSPACE|RPMPROB_FILTER_DISKNODES)); ps = rpmtsProblems(ts); if (rpmpsNumProblems(ps) > 0) rpmpsPrint(NULL, ps); -- cgit v1.2.3