diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-28 11:00:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-28 11:00:11 +0000 |
commit | 8c2d6b960b796c258ceb62312e0813b16dbc0861 (patch) | |
tree | 7f7b998ca173d10a4230ebcec14e64ae447930ea /gurpmi.addmedia | |
parent | e2c593b4af2a80dac05d9ce0c3c4275e0be6c6f1 (diff) | |
download | rpmdrake-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-x | gurpmi.addmedia | 4 |
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 |