From 556b8a81c11d6cc813a04a6bd261d49599add2e6 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 23 Nov 2014 08:55:02 +0000 Subject: [PATCH] contrib/pre-commit: add possibility to delete git-svn-id: https://svn.fhem.de/fhem/trunk@7043 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/pre-commit | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/contrib/pre-commit b/fhem/contrib/pre-commit index 0dd2ef086..5b6a52537 100755 --- a/fhem/contrib/pre-commit +++ b/fhem/contrib/pre-commit @@ -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;