From b980dc5f69d7eeca5ec56b927537cd247110ca00 Mon Sep 17 00:00:00 2001 From: Danilo Godec Date: Tue, 6 Aug 2024 07:58:26 +0200 Subject: [PATCH] Update update-ngxblocker - added check_depends to check_version update-ngxblocker -v didn't work as check_version was called without 'check_depends' and didn't get all binaries / paths. --- update-ngxblocker | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update-ngxblocker b/update-ngxblocker index 3019d6c7efc..4f44e33d2d4 100755 --- a/update-ngxblocker +++ b/update-ngxblocker @@ -91,6 +91,8 @@ check_version() { local remote_ver= remote_date= version= date= file=$CONF_DIR/globalblacklist.conf local tmp=$(mktemp) url=$REPO/conf.d/globalblacklist.conf range="145-345" + check_depends + if [ -f $file ]; then # local version version=$(grep "Version:" $file | ${SED_CMD} 's|^.*: V||g')