summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xmdkapplet2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 59841aff..9e27aad1 100644
--- a/NEWS
+++ b/NEWS
@@ -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
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;