eth0s/ports/core/ca-certificates/update

8 lines
166 B
Text
Raw Normal View History

2022-04-09 08:19:46 +08:00
url=https://curl.se/docs/caextract.html
getver_ca-certificates() {
fetch \
| grep -Eo cacert-[0-9.]+-[0-9.]+-[0-9.]+.pem \
| sed "s/cacert-//;s/\.pem//;s/-//g"
}