diff --git a/.githooks/post-merge b/.githooks/post-merge index f6a0b76..899d703 100755 --- a/.githooks/post-merge +++ b/.githooks/post-merge @@ -15,7 +15,7 @@ GIT_PULL_TMP=/tmp/git_pull OPKG_CMDS_TMP=/tmp/opkg_commands for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do - if grep -E -q ".*(DC*.json|dc/dc2c.hex|tariff*.json)" <<< $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