summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 13:53:09 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 13:53:09 +0000
commit62d1f8b9a789da3d78074e5c351dffd54747cb23 (patch)
tree6b0286ac01fe916f9abf178f5e025f4bc431af47 /mdkapplet
parent3dff8fbee021e419d38077ec25a31bc1f9aa236e (diff)
downloadmgaonline-62d1f8b9a789da3d78074e5c351dffd54747cb23.tar
mgaonline-62d1f8b9a789da3d78074e5c351dffd54747cb23.tar.gz
mgaonline-62d1f8b9a789da3d78074e5c351dffd54747cb23.tar.bz2
mgaonline-62d1f8b9a789da3d78074e5c351dffd54747cb23.tar.xz
mgaonline-62d1f8b9a789da3d78074e5c351dffd54747cb23.zip
enable to remove media in chroot specified by --urpmi-root
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 423fc16f..70a6fba4 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -406,7 +406,7 @@ sub upgrade() {
undef $_urpmi_lock;
logIt("removing all existing urpmi media for upgrade");
- run_program::run('urpmi.removemedia', '-a');
+ run_program::run('urpmi.removemedia', if_($root, '--urpmi-root', $root), '-a');
logIt("adding urpmi media for new distribution");
my $product_type = lc($product_id->{type}); $product_type =~ s/\s//g;