aboutsummaryrefslogtreecommitdiffstats
path: root/gurpmi.addmedia
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 /gurpmi.addmedia
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)
Diffstat (limited to 'gurpmi.addmedia')
-rwxr-xr-xgurpmi.addmedia1
1 files changed, 1 insertions, 0 deletions
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: