parental-control: Support BlockHistory

This commit is contained in:
Mohd Husaam Mehdi 2025-02-18 13:57:21 +05:30 committed by Vivek Kumar Dutta
parent c118da628d
commit 41c8325aae
2 changed files with 3 additions and 3 deletions

View file

@ -5,13 +5,13 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=parental-control PKG_NAME:=parental-control
PKG_VERSION:=1.1.0 PKG_VERSION:=1.1.1
LOCAL_DEV:=0 LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1) ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/network/parental-control.git PKG_SOURCE_URL:=https://dev.iopsys.eu/network/parental-control.git
PKG_SOURCE_VERSION:=6a70cb9e0a9d92952610589915b85ae91841cb7b PKG_SOURCE_VERSION:=6100c9fdcaa158841993e32965b1c9b98d4e8e01
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_MIRROR_HASH:=skip PKG_MIRROR_HASH:=skip
endif endif

View file

@ -65,7 +65,7 @@ update_bundle_file_from_url() {
local attempt=1 local attempt=1
local success=0 local success=0
while [ $attempt -le 3 ]; do while [ $attempt -le 3 ]; do
wget -q -O "$temp_file" "$download_url" curl -s -o "$temp_file" "$download_url"
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
success=1 success=1
break break