mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-28 02:44:53 +00:00
fix an error in updatefhem
git-svn-id: https://svn.fhem.de/fhem/trunk@1656 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
80bd6ac98c
commit
0af1256442
@ -197,6 +197,8 @@ CommandUpdatefhem($$)
|
||||
my $delfile;
|
||||
my $excluded = (!defined($attr{global}{exclude_from_update}) ? "" : $attr{global}{exclude_from_update});
|
||||
|
||||
`(mkdir -p $moddir/FhemUtils)` if(!-d "$moddir/FhemUtils");
|
||||
|
||||
foreach my $f (sort keys %$filetime) {
|
||||
my $ef = substr $f,rindex($f,'/')+1;
|
||||
if($excluded =~ /$ef/) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user