diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | gurpmi.addmedia | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,7 @@ - gurpmi.addmedia: o handle --mirrorlist o drop 'with' parameter, it didn't work properly anymore (Anssi) + o fix --distrib Version 4.9.8 - 25 March 2008, Thierry Vignaud diff --git a/gurpmi.addmedia b/gurpmi.addmedia index 993891e5..13a19296 100755 --- a/gurpmi.addmedia +++ b/gurpmi.addmedia @@ -88,6 +88,8 @@ while (@ARGV) { if ($mirrorlist) { ($with_dir, $url) = ($url, undef); + } elsif ($distrib) { + ($name, $url) = ('', $name); } elsif ($url !~ m,^(([^:]*):/)?/,) { interactive_msg('gurpmi.addmedia', N("bad <url> (for local directory, the path must be absolute)") . "\n\n$url"); |