mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 01:58:35 +04:00
ddns-scripts: make WGET_SSL executable
Signed-off-by: Edi Turn <yyxstter@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ddns-scripts
|
PKG_NAME:=ddns-scripts
|
||||||
PKG_VERSION:=2.8.2
|
PKG_VERSION:=2.8.2
|
||||||
PKG_RELEASE:=6
|
PKG_RELEASE:=7
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-2.0
|
PKG_LICENSE:=GPL-2.0
|
||||||
|
|
||||||
|
|||||||
@@ -85,8 +85,7 @@ NSLOOKUP=$(command -v nslookup)
|
|||||||
|
|
||||||
# Transfer Programs
|
# Transfer Programs
|
||||||
WGET=$(command -v wget)
|
WGET=$(command -v wget)
|
||||||
# SSL support is available if WGET_SSL is not empty
|
$WGET -V 2>/dev/null | grep -F -q +https && WGET_SSL=$WGET
|
||||||
WGET_SSL=$("$WGET" -V 2>/dev/null | grep -F +https)
|
|
||||||
|
|
||||||
CURL=$(command -v curl)
|
CURL=$(command -v curl)
|
||||||
# CURL_SSL not empty then SSL support available
|
# CURL_SSL not empty then SSL support available
|
||||||
|
|||||||
Reference in New Issue
Block a user