summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2007-04-16 13:15:10 +0100
committerPaul Nasrat <pnasrat@redhat.com>2007-04-16 13:15:10 +0100
commit332cb7d273746dd98fc9cfd12a9ca4475ef7b961 (patch)
tree44a49acc099143e77054d57627cdf4c10d3bba1a /rpmqv.c
parent5fdd5efb26d67e89c5d1cda51435de2896348102 (diff)
downloadlibrpm-tizen-332cb7d273746dd98fc9cfd12a9ca4475ef7b961.tar.gz
librpm-tizen-332cb7d273746dd98fc9cfd12a9ca4475ef7b961.tar.bz2
librpm-tizen-332cb7d273746dd98fc9cfd12a9ca4475ef7b961.zip
Allow "--ignoresize" for erase operations.
Patch from OpenSuSE
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-xrpmqv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmqv.c b/rpmqv.c
index d16464752..f2068d91d 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -468,7 +468,7 @@ int main(int argc, const char ** argv)
argerror(_("--ignoreos may only be specified during package "
"installation"));
- if (bigMode != MODE_INSTALL &&
+ if (bigMode != MODE_INSTALL && bigMode != MODE_ERASE &&
(ia->probFilter & (RPMPROB_FILTER_DISKSPACE|RPMPROB_FILTER_DISKNODES)))
argerror(_("--ignoresize may only be specified during package "
"installation"));