diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-09 13:18:50 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-09 13:18:50 +0000 |
commit | a6a904a31e39b74144c53f0cc4086d496b70c09a (patch) | |
tree | 6c1ae1513c656e3c8a6f396c39b92ff68280fe35 /perl-install/harddrake | |
parent | 234c95860ab1939a0fafe8cbf1ad21acc840b6e0 (diff) | |
download | drakx-a6a904a31e39b74144c53f0cc4086d496b70c09a.tar drakx-a6a904a31e39b74144c53f0cc4086d496b70c09a.tar.gz drakx-a6a904a31e39b74144c53f0cc4086d496b70c09a.tar.bz2 drakx-a6a904a31e39b74144c53f0cc4086d496b70c09a.tar.xz drakx-a6a904a31e39b74144c53f0cc4086d496b70c09a.zip |
log only if options set
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/bttv.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/harddrake/bttv.pm b/perl-install/harddrake/bttv.pm index c18cf705e..4bc6cb63c 100644 --- a/perl-install/harddrake/bttv.pm +++ b/perl-install/harddrake/bttv.pm @@ -204,9 +204,11 @@ If your card is misdetected, you can force the right tuner and card types here. my $options = 'radio=' . ($conf{radio} ? 1 : 0) . ' '. join(' ', map { if_($conf{$_} ne -1, "$_=$conf{$_}") } qw(card pll tuner gbuffers)); - log::l("[harddrake::bttv] $options"); - standalone::explanations("modified file /etc/modules.conf ($options)") if $::isStandalone; - modules::set_options("bttv", $options) if $options; + if ($options) { + log::l("[harddrake::bttv] $options"); + standalone::explanations("modified file /etc/modules.conf ($options)") if $::isStandalone; + modules::set_options("bttv", $options); + } } } |