mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-02 06:55:26 +00:00
77_SMAEM.pm: contrib 4.1.0
git-svn-id: https://svn.fhem.de/fhem/trunk@21442 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d899c2c7c4
commit
f3ecaf3f3e
@ -31,7 +31,7 @@ use strict;
|
||||
use warnings;
|
||||
use bignum;
|
||||
use IO::Socket::Multicast;
|
||||
eval "use IO::Interface;1";
|
||||
eval "use IO::Interface;1" or my $IOInterfaceAbsent = 1;
|
||||
use Blocking;
|
||||
eval "use FHEM::Meta;1" or my $modMetaAbsent = 1;
|
||||
|
||||
@ -208,6 +208,8 @@ sub SMAEM_Define ($$) {
|
||||
|
||||
$hash->{HELPER}{MODMETAABSENT} = 1 if($modMetaAbsent); # Modul Meta.pm nicht vorhanden
|
||||
|
||||
Log3($name, 3, "$name - The perl module \"IO::Interface\" is missing. You should install it.") if($IOInterfaceAbsent);
|
||||
|
||||
# Versionsinformationen setzen
|
||||
SMAEM_setVersionInfo($hash);
|
||||
|
||||
@ -1352,6 +1354,7 @@ return;
|
||||
"Blocking": 0
|
||||
},
|
||||
"recommends": {
|
||||
"IO::Interface": 0,
|
||||
"FHEM::Meta": 0
|
||||
},
|
||||
"suggests": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user