aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-10 18:21:40 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-10 18:21:40 +0000
commit998aaf5c6291c44123f8b88c1ca6f258b931fe1c (patch)
treec3d75cf7fcf25b416f858fa96678fe0442babf79 /URPM.xs
parent91a15ad9f49cf8b333845cd2cd81a93eeed136f3 (diff)
downloadperl-URPM-998aaf5c6291c44123f8b88c1ca6f258b931fe1c.tar
perl-URPM-998aaf5c6291c44123f8b88c1ca6f258b931fe1c.tar.gz
perl-URPM-998aaf5c6291c44123f8b88c1ca6f258b931fe1c.tar.bz2
perl-URPM-998aaf5c6291c44123f8b88c1ca6f258b931fe1c.tar.xz
perl-URPM-998aaf5c6291c44123f8b88c1ca6f258b931fe1c.zip
Add the RPMPROB_FILTER_DISKNODES flag for running transactions with the
nosize option. Although rpm doesn't seem to use it internally, it sets it on the --ignoresize command-line option.
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 2c00fc5..9f9d1b2 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2942,7 +2942,7 @@ Trans_run(trans, data, ...)
} else if (!memcmp(s, "delta", 5))
td.min_delta = SvIV(ST(i+1));
} else if (len == 6 && !memcmp(s, "nosize", 6)) {
- if (SvIV(ST(i+1))) probFilter |= RPMPROB_FILTER_DISKSPACE;
+ if (SvIV(ST(i+1))) probFilter |= (RPMPROB_FILTER_DISKSPACE|RPMPROB_FILTER_DISKNODES);
} else if (len == 9 && !memcmp(s, "noscripts", 9)) {
if (SvIV(ST(i+1))) transFlags |= (RPMTRANS_FLAG_NOSCRIPTS |
RPMTRANS_FLAG_NOPRE |