git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
34e2d6e
)
luci-app-ddns: fix wget-ssl path
author
Huangbin Zhan
<redacted>
Mon, 18 Jan 2021 14:00:23 +0000
(22:00 +0800)
committer
Huangbin Zhan
<redacted>
Mon, 18 Jan 2021 14:00:23 +0000
(22:00 +0800)
Signed-off-by: Huangbin Zhan <redacted>
applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns
patch
|
blob
|
history
diff --git
a/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns
b/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns
index 0a60142e6f713febe53e10d44a6e365f3cdf4b6c..36c6bdf269ddb245544200d1769f77b324f6c18a 100755
(executable)
--- a/
applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns
+++ b/
applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns
@@
-187,7
+187,7
@@
local methods = {
local function has_wgetssl()
if cache['has_wgetssl'] then return cache['has_wgetssl'] end
- local res =
(sys.call( [[command -v wget-ssl
>/dev/null 2>&1]] ) == 0)
+ local res =
has_wget() and (sys.call( [[wget --version | grep -qF +https
>/dev/null 2>&1]] ) == 0)
cache['has_wgetssl'] = res
return res
end
git clone https://git.99rst.org/PROJECT