mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-12 17:31:47 +00:00
This commit is contained in:
parent
2b01d4a203
commit
9a90fe3794
10
acme.sh
10
acme.sh
@ -562,9 +562,17 @@ if _exists xargs && [ "$(printf %s '\\x41' | xargs printf)" = 'A' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
_h2b() {
|
_h2b() {
|
||||||
if _exists xxd && xxd -r -p 2>/dev/null; then
|
if _exists xxd; then
|
||||||
|
if _contains "$(xxd --help 2>&1)" "assumes -c30"; then
|
||||||
|
if xxd -r -p -c 9999 2>/dev/null; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
if xxd -r -p 2>/dev/null; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
hex=$(cat)
|
hex=$(cat)
|
||||||
ic=""
|
ic=""
|
||||||
|
Loading…
Reference in New Issue
Block a user