V4L/DVB: get_dvb_firmware: Fix typo, sort list of components
Commiter: Oliver Endriss <o.endriss@gmx.de> Fix typo. Sort list of components for better readability. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
e7e41d3b59
commit
87147ff03a
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,7 @@ for ($i=0; $i < scalar(@components); $i++) {
|
||||||
die $@ if $@;
|
die $@ if $@;
|
||||||
print STDERR <<EOF;
|
print STDERR <<EOF;
|
||||||
Firmware(s) $outfile extracted successfully.
|
Firmware(s) $outfile extracted successfully.
|
||||||
Now copy it(they) to either /usr/lib/hotplug/firmware or /lib/firmware
|
Now copy it(them) to either /usr/lib/hotplug/firmware or /lib/firmware
|
||||||
(depending on configuration of firmware hotplug).
|
(depending on configuration of firmware hotplug).
|
||||||
EOF
|
EOF
|
||||||
exit(0);
|
exit(0);
|
||||||
|
@ -685,6 +685,7 @@ sub delzero{
|
||||||
sub syntax() {
|
sub syntax() {
|
||||||
print STDERR "syntax: get_dvb_firmware <component>\n";
|
print STDERR "syntax: get_dvb_firmware <component>\n";
|
||||||
print STDERR "Supported components:\n";
|
print STDERR "Supported components:\n";
|
||||||
|
@components = sort @components;
|
||||||
for($i=0; $i < scalar(@components); $i++) {
|
for($i=0; $i < scalar(@components); $i++) {
|
||||||
print STDERR "\t" . $components[$i] . "\n";
|
print STDERR "\t" . $components[$i] . "\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue