aria2: Add missing 'or' in section validate function
authorHsing-Wang Liao <kuoruan@gmail.com>
Fri, 25 Aug 2017 06:08:18 +0000 (14:08 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Fri, 25 Aug 2017 06:33:54 +0000 (14:33 +0800)
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
net/aria2/Makefile
net/aria2/files/aria2.init

index f81bb557e83b8242ed1756dbaa3de0c47298ab07..f11d02438cab1babefaa6529e954b361d2ef2fab 100644 (file)
@@ -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)/
index ca230f8545ef6b3212926d21e2cdc20413da4e88..c6d56a170cc70515bc2f803e01e22b5db84a90c0 100755 (executable)
@@ -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")' \