tinyproxy: fix upstream config generation

Signed-off-by: Daniel Kucera <daniel.kucera@gmail.com>
pull/24463/head
Daniel Kucera 2024-04-25 08:47:29 +02:00 committed by Rosen Penev
parent 65fc6ccb06
commit de8e13efa5
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tinyproxy PKG_NAME:=tinyproxy
PKG_VERSION:=1.11.1 PKG_VERSION:=1.11.1
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/tinyproxy/tinyproxy/releases/download/$(PKG_VERSION) PKG_SOURCE_URL:=https://github.com/tinyproxy/tinyproxy/releases/download/$(PKG_VERSION)

View File

@ -24,10 +24,10 @@ write_upstream() {
[ -n "$target" ] && target=' "'"$target"'"' [ -n "$target" ] && target=' "'"$target"'"'
[ "$type" = "proxy" ] && [ -n "$via" ] && \ [ "$type" = "proxy" ] && [ -n "$via" ] && \
echo "upstream $via$target" echo "upstream http $via$target"
[ "$type" = "reject" ] && [ -n "$target" ] && \ [ "$type" = "reject" ] && [ -n "$target" ] && \
echo "no upstream$target" echo "upstream none$target"
} }
proxy_atom() { proxy_atom() {