aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 13:48:05 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 13:48:05 +0000
commit61f0f649e1b1efd68e9e019af6b58ce4e82cbbfd (patch)
tree7d25da3eccf4906093afef424631ebd6aeb7a423
parentafa2f421b37372c43815d903f14c887b41b9e6f2 (diff)
downloadrpmdrake-61f0f649e1b1efd68e9e019af6b58ce4e82cbbfd.tar
rpmdrake-61f0f649e1b1efd68e9e019af6b58ce4e82cbbfd.tar.gz
rpmdrake-61f0f649e1b1efd68e9e019af6b58ce4e82cbbfd.tar.bz2
rpmdrake-61f0f649e1b1efd68e9e019af6b58ce4e82cbbfd.tar.xz
rpmdrake-61f0f649e1b1efd68e9e019af6b58ce4e82cbbfd.zip
handle --urpmi-root (usefull in order to test mdkapplet's distro
upgrade feature)
-rw-r--r--NEWS2
-rwxr-xr-xgurpmi.addmedia1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 00b62367..bd805dc0 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- gurpmi.addmedia:
+ o handle --urpmi-root
- rpmdrake:
o fix too big "media to update" window (#44518)
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index ad3b104a..faebe3d2 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -78,6 +78,7 @@ GetOptions(
'distrib' => \$distrib,
'silent-success' => \$silent_success,
'mirrorlist=s' => \$mirrorlist,
+ 'urpmi-root=s' => \$::rpmdrake_options{'urpmi-root'}[0],
);
# compatibility with -update: