2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

Meta.pm: move some variables

git-svn-id: https://svn.fhem.de/fhem/trunk@18849 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2019-03-10 14:34:03 +00:00
parent 63c3ac4dec
commit 86ddab91b8
2 changed files with 18 additions and 14 deletions

View File

@ -64,14 +64,6 @@ BEGIN {
);
}
our $coreUpdate;
our %corePackageUpdates;
our %coreFileUpdates;
our %moduleUpdates;
our %packageUpdates;
our %fileUpdates;
sub Define($$) {
my ( $hash, $def ) = @_;
my @a = split( "[ \t][ \t]*", $def );

View File

@ -37,12 +37,24 @@ return "$@" if ($@);
return $ret if ($ret);
use version 0.77; our $VERSION = $META{version};
# sub import(@) {
# my $pkg = caller(0);
#
# if ( $pkg ne "main" ) {
# }
# }
our $coreUpdate;
our %corePackageUpdates;
our %coreFileUpdates;
our %moduleUpdates;
our %packageUpdates;
our %fileUpdates;
sub import(@) {
my $pkg = caller(0);
# Initially load update information
# to be ready for meta analysis
__GetUpdatedata() unless ( defined($coreUpdate) );
if ( $pkg ne "main" ) {
}
}
# Loads Metadata for single module, based on filename
sub InitMod($$;$) {