summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-02-11 09:48:50 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-02-11 09:48:50 +0000
commit12882b2dc3e62f74b51f1d79ea62d436115545ad (patch)
tree8f386e19b56b45778816627e2b34726e193c5162 /urpme
parent802fd00d095a5f54418dee6ebe5831502f8dd10d (diff)
downloadurpmi-12882b2dc3e62f74b51f1d79ea62d436115545ad.tar
urpmi-12882b2dc3e62f74b51f1d79ea62d436115545ad.tar.gz
urpmi-12882b2dc3e62f74b51f1d79ea62d436115545ad.tar.bz2
urpmi-12882b2dc3e62f74b51f1d79ea62d436115545ad.tar.xz
urpmi-12882b2dc3e62f74b51f1d79ea62d436115545ad.zip
Fix --root option in urpme
Diffstat (limited to 'urpme')
-rw-r--r--urpme1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpme b/urpme
index 60ed98bd..f99a3ec0 100644
--- a/urpme
+++ b/urpme
@@ -96,6 +96,7 @@ my @toremove = $urpm->find_packages_to_remove(
foreach (@_) {
$urpm->{error}(N("removing package %s will break your system", $_));
} 0 },
+ root => $root,
) or $urpm->{fatal}(0, N("Nothing to remove"));
my $list = join "\n", $urpm->translate_why_removed($state, sort @toremove);