Browse Source
adblock: fix restrictive sort selection
Signed-off-by: Dirk Brenken <dev@brenken.org>
lilik-openwrt-22.03
Dirk Brenken
4 years ago
No known key found for this signature in database
GPG Key ID: 9D71CD547BFAE684
2 changed files with
6 additions and
2 deletions
-
net/adblock/Makefile
-
net/adblock/files/adblock.sh
|
|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=adblock |
|
|
|
PKG_VERSION:=4.0.8 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
PKG_LICENSE:=GPL-3.0-or-later |
|
|
|
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org> |
|
|
|
|
|
|
|
|
|
@ -1653,7 +1653,11 @@ fi |
|
|
|
adb_sort="$(command -v gnu-sort)" |
|
|
|
if [ -z "${adb_sort}" ] |
|
|
|
then |
|
|
|
f_log "err" "gnu-sort not found" |
|
|
|
adb_sort="$(command -v sort)" |
|
|
|
if [ -z "$("${adb_sort}" --help 2>/dev/null | grep -Fo -m1 "coreutils")" ] |
|
|
|
then |
|
|
|
f_log "err" "coreutils sort not found" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
# version information |
|
|
|