Browse Source

shadowsocks-libev: remove unnecessary curly braces

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
lilik-openwrt-22.03
Yousong Zhou 7 years ago
parent
commit
805c6b0ecf
2 changed files with 6 additions and 6 deletions
  1. +1
    -1
      net/shadowsocks-libev/Makefile
  2. +5
    -5
      net/shadowsocks-libev/files/shadowsocks-libev.init

+ 1
- 1
net/shadowsocks-libev/Makefile View File

@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk
#
PKG_NAME:=shadowsocks-libev
PKG_VERSION:=3.1.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION)


+ 5
- 5
net/shadowsocks-libev/files/shadowsocks-libev.init View File

@ -264,15 +264,15 @@ validate_common_options_() {
}
validate_server_section() {
validate_common_server_options_ server "$1" "${2}"
validate_common_server_options_ server "$1" "$2"
}
validate_ss_local_section() {
validate_common_client_options_ ss_local "$1" "${2}"
validate_common_client_options_ ss_local "$1" "$2"
}
validate_ss_redir_section() {
validate_common_client_options_ ss_redir "$1" "${2}"
validate_common_client_options_ ss_redir "$1" "$2"
}
validate_ss_rules_section() {
@ -298,12 +298,12 @@ validate_ss_rules_section() {
validate_ss_server_section() {
validate_common_server_options_ ss_server "$1" \
validate_common_options_ \
"${2}" \
"$2" \
'bind_address:ipaddr'
}
validate_ss_tunnel_section() {
validate_common_client_options_ ss_tunnel "$1" \
"${2}" \
"$2" \
'tunnel_address:regex(".+\:[0-9]+")'
}

Loading…
Cancel
Save