Browse Source

Merge pull request #14584 from EdiTurn/master

ddns-scripts: make WGET_SSL executable
lilik-openwrt-22.03
Florian Eckert 4 years ago
committed by GitHub
parent
commit
b7503f6498
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions
  1. +1
    -1
      net/ddns-scripts/Makefile
  2. +1
    -2
      net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh

+ 1
- 1
net/ddns-scripts/Makefile View File

@ -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


+ 1
- 2
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh View File

@ -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_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=$(command -v curl)
# CURL_SSL not empty then SSL support available # CURL_SSL not empty then SSL support available


Loading…
Cancel
Save