From bfff914e1d8d209be23f0fffc6be84003b9f67f0 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 30 Mar 2023 12:49:45 +0200 Subject: [PATCH] Add handling for binary dc-files --- .githooks/post-merge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.githooks/post-merge b/.githooks/post-merge index 8cb33b8..a564abf 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|dc2c.hex|tariff.*json)" <<< $fn; then + if grep -E -q "(DC.*json|dc.*hex|dc.*bin|tariff.*json)" <<< $fn; then echo "$fn" >> $GIT_PULL_TMP fi if grep -E -q ".*opkg_commands" <<< $fn; then