diff options
Diffstat (limited to 'extra/libressl/files')
-rwxr-xr-x | extra/libressl/files/update-certdata.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/libressl/files/update-certdata.sh b/extra/libressl/files/update-certdata.sh index 5283c329..611f944d 100755 --- a/extra/libressl/files/update-certdata.sh +++ b/extra/libressl/files/update-certdata.sh @@ -2,12 +2,12 @@ # # update-certdata.sh -[ -w "$KISS_ROOT/etc/ssl" ] || { - printf '%s\n' "${0##*/}: root required to update cert." >&2 +[ -w "$CPT_ROOT/etc/ssl" ] || { + printf '%s\n' "${0##*/}: root required to update CA certificates." >&2 exit 1 } -cd "$KISS_ROOT/etc/ssl" && { +cd "$CPT_ROOT/etc/ssl" && { wget https://curl.haxx.se/ca/cacert.pem mv -f cacert.pem cert.pem printf '%s\n' "${0##*/}: updated cert.pem" |