lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 148a4b9de99d539bb98976699b61fcf443620e6c
parent fd966a76b81e3cc13f2b4e9430df5bad00438338
Author: Hannu Nyman <hannu.nyman@iki.fi>
Date:   Mon,  4 Jan 2016 22:42:25 +0200

Merge pull request #2237 from clarkwang/privoxy-list-more-than-9

privoxy: "list" does not work when there are 10+ entries
Diffstat:
Mnet/privoxy/Makefile | 2+-
Mnet/privoxy/files/privoxy.init | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/privoxy/Makefile b/net/privoxy/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=privoxy PKG_VERSION:=3.0.23 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=privoxy-$(PKG_VERSION)-stable-src.tar.gz PKG_SOURCE_URL:=@SF/ijbswa diff --git a/net/privoxy/files/privoxy.init b/net/privoxy/files/privoxy.init @@ -28,7 +28,7 @@ _uci2conf() { # detect list options (LENGTH) and ignore echo $__OPT | grep -i "_LENGTH" >/dev/null 2>&1 && return # detect list options (ITEM) and ignore - echo $__OPT | grep -i "_ITEM" >/dev/null 2>&1 && __OPT=$(echo $__OPT | sed -e "s#_ITEM.##g") + echo $__OPT | grep -i "_ITEM" >/dev/null 2>&1 && __OPT=$(echo $__OPT | sed -e "s#_ITEM.*##g") # uci only accept "_" but we need "-" local __OPT=$(echo $__OPT | sed -e "s#_#-#g") # write to config