prevent a 'deb...' mirror argument from being handled by the '://' case
This commit is contained in:
parent
173ea1162b
commit
bb2aa6e9fd
1 changed files with 2 additions and 2 deletions
|
@ -682,10 +682,10 @@ sub setup {
|
|||
# read from stdin
|
||||
print STDERR "I: Reading sources.list from standard input...\n";
|
||||
copy *STDIN, $fh or die "cannot copy stdin: $!";
|
||||
} elsif ($arg =~ /:\/\//) {
|
||||
print $fh "deb$archopt $arg $options->{suite} $options->{components}\n";
|
||||
} elsif ($arg =~ /^deb(-src)? /) {
|
||||
print $fh "$arg\n";
|
||||
} elsif ($arg =~ /:\/\//) {
|
||||
print $fh "deb$archopt $arg $options->{suite} $options->{components}\n";
|
||||
} elsif (-f $arg) {
|
||||
copy($arg, $fh) or die "cannot copy $arg: $!";
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue