mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-14 15:39:12 +00:00
contrib/pre-commit: add possibility to delete
git-svn-id: https://svn.fhem.de/fhem/trunk@7043 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b26d327611
commit
556b8a81c1
@ -30,6 +30,7 @@ my $fList = `$svnlook changed $arg $repos`;
|
||||
foreach my $row (split("\n", $fList)) {
|
||||
chomp($row);
|
||||
my ($type, $fName) = split(" ", $row);
|
||||
next if($type eq "D");
|
||||
next if(!$fName || $fName !~ m+FHEM/\d\d_(.*).pm$+);
|
||||
my $modName = $1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user