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:
parent
63c3ac4dec
commit
86ddab91b8
@ -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 );
|
||||
|
@ -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($$;$) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user