summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/sys.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5691343b..2d892b71 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@
- urpmi
o do not compute orphan packages when handling priority upgrades
o disable dudf support (we've nothing server side)
+ o fix checking available space of mount point (mga#1342)
Version 6.42 - 05 November 2011
diff --git a/urpm/sys.pm b/urpm/sys.pm
index 44b48d33..3e40151f 100644
--- a/urpm/sys.pm
+++ b/urpm/sys.pm
@@ -96,7 +96,7 @@ sub _find_a_mntpoint {
sub df {
my ($mntpoint) = @_;
require Filesys::Df;
- my $df = Filesys::Df::df("/", 1024); # ask 1kb values
+ my $df = Filesys::Df::df($mntpoint || "/", 1024); # ask 1kb values
@$df{qw(blocks bfree)};
}