diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 13:53:09 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 13:53:09 +0000 |
commit | 62d1f8b9a789da3d78074e5c351dffd54747cb23 (patch) | |
tree | 6b0286ac01fe916f9abf178f5e025f4bc431af47 /mdkapplet | |
parent | 3dff8fbee021e419d38077ec25a31bc1f9aa236e (diff) | |
download | mgaonline-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-x | mdkapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |