aboutsummaryrefslogtreecommitdiffstats
path: root/gurpmi.addmedia
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-28 11:00:11 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-28 11:00:11 +0000
commit8c2d6b960b796c258ceb62312e0813b16dbc0861 (patch)
tree7f7b998ca173d10a4230ebcec14e64ae447930ea /gurpmi.addmedia
parente2c593b4af2a80dac05d9ce0c3c4275e0be6c6f1 (diff)
downloadrpmdrake-8c2d6b960b796c258ceb62312e0813b16dbc0861.tar
rpmdrake-8c2d6b960b796c258ceb62312e0813b16dbc0861.tar.gz
rpmdrake-8c2d6b960b796c258ceb62312e0813b16dbc0861.tar.bz2
rpmdrake-8c2d6b960b796c258ceb62312e0813b16dbc0861.tar.xz
rpmdrake-8c2d6b960b796c258ceb62312e0813b16dbc0861.zip
fix --distrib --mirrorlist support
Diffstat (limited to 'gurpmi.addmedia')
-rwxr-xr-xgurpmi.addmedia4
1 files changed, 4 insertions, 0 deletions
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index 13a19296..a4a5c4ad 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -100,6 +100,10 @@ while (@ARGV) {
shift @ARGV foreach 1 .. 2;
}
+if ($mirrorlist && $distrib && !@addmedia_args) {
+ @addmedia_args = [ '' ];
+}
+
$fromfile and do {
interactive_msg('gurpmi.addmedia',
N("%s