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 | |
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
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | mdkapplet | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -3,6 +3,8 @@ * display a banner * display an URL link button * display nicer distribution name + o when performing distro upgrade: + * enable to remove media in chroot specified by --urpmi-root Version 2.49 - 3 October 2008 @@ -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; |