adblock: 4.1.3-4

* fix backup dir creation in raw mode

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken 2021-12-22 13:19:40 +01:00 committed by Beginner-Go
parent 58da2d8a44
commit db5f6f96ff
2 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=adblock PKG_NAME:=adblock
PKG_VERSION:=4.1.3 PKG_VERSION:=4.1.3
PKG_RELEASE:=3 PKG_RELEASE:=4
PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org> PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>

View File

@ -405,7 +405,10 @@ f_dns()
sleep 1 sleep 1
cnt=$((cnt+1)) cnt=$((cnt+1))
done done
fi
if [ "${adb_action}" != "stop" ]
then
if [ -n "${adb_dnsdir}" ] && [ ! -d "${adb_dnsdir}" ] if [ -n "${adb_dnsdir}" ] && [ ! -d "${adb_dnsdir}" ]
then then
mkdir -p "${adb_dnsdir}" mkdir -p "${adb_dnsdir}"