diff options
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 64c44adc..b478f3f6 100755 --- a/gurpmi.addmedia +++ b/gurpmi.addmedia @@ -36,6 +36,10 @@ if ($@) { } $::isStandalone = 1; +if (@ARGV == 1 && $ARGV[0] =~ /\.urpm-media$/) { + @ARGV = split /\n/, cat_($ARGV[0]); +} + my $update = 0; if ($ARGV[0] =~ /-?-update/) { $update = 1; |