mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
aria2: Add missing 'or' in section validate function
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
This commit is contained in:
committed by
Yousong Zhou
parent
6c1fe1ad7a
commit
df615166ba
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=aria2
|
||||
PKG_VERSION:=1.32.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://github.com/aria2/aria2/releases/download/release-$(PKG_VERSION)/
|
||||
|
||||
@@ -112,8 +112,8 @@ aria2_validate() {
|
||||
'disk_cache:string' \
|
||||
'enable_dht:or("true","false"):true' \
|
||||
'enable_dht6:or("true","false")' \
|
||||
'enable_peer_exchange:("true","false")' \
|
||||
'event_poll:("epoll","kqueue","port","poll","select")' \
|
||||
'enable_peer_exchange:or("true","false")' \
|
||||
'event_poll:or("epoll","kqueue","port","poll","select")' \
|
||||
'file_allocation:or("none","prealloc","trunc","falloc")' \
|
||||
'follow_torrent:or("true","false","mem")' \
|
||||
'force_save:or("true","false")' \
|
||||
|
||||
Reference in New Issue
Block a user