From 17abc2e768ab3fbd28dbea712964682ec44cc2ce Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Mon, 27 Mar 2023 16:41:10 +0200 Subject: [PATCH] fixed regex --- .githooks/post-merge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.githooks/post-merge b/.githooks/post-merge index e1a02b2..8cb33b8 100755 --- a/.githooks/post-merge +++ b/.githooks/post-merge @@ -18,7 +18,7 @@ rm -f $OPKG_PULL_TMP rm -f $OPKG_CMDS_TMP for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do - if grep -E -q ".*(DC*.json|dc/dc2c.hex)" <<< $fn; then + if grep -E -q "(DC.*json|dc2c.hex|tariff.*json)" <<< $fn; then echo "$fn" >> $GIT_PULL_TMP fi if grep -E -q ".*opkg_commands" <<< $fn; then