ddns-scripts: make WGET_SSL executable
authorEdi Turn <[email protected]>
Wed, 27 Jan 2021 12:40:03 +0000 (20:40 +0800)
committerEdi Turn <[email protected]>
Wed, 27 Jan 2021 12:40:03 +0000 (20:40 +0800)
Signed-off-by: Edi Turn <[email protected]>
net/ddns-scripts/Makefile
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh

index a7df671be06ae92c2943c31ab9f7892e242f0f6e..e3b0c4c46bed6105fc352ecc2d4fe7e4d061f495 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ddns-scripts
 PKG_VERSION:=2.8.2
-PKG_RELEASE:=6
+PKG_RELEASE:=7
 
 PKG_LICENSE:=GPL-2.0
 
index 141547f306ea46493df8eb9e935e4bb8ac62bd23..5facd8bed540b39771eab53e875a825e6aa9e117 100644 (file)
@@ -85,8 +85,7 @@ NSLOOKUP=$(command -v nslookup)
 
 # Transfer Programs
 WGET=$(command -v wget)
-# SSL support is available if WGET_SSL is not empty
-WGET_SSL=$("$WGET" -V 2>/dev/null | grep -F +https)
+$WGET -V 2>/dev/null | grep -F -q +https && WGET_SSL=$WGET
 
 CURL=$(command -v curl)
 # CURL_SSL not empty then SSL support available