diff options
-rwxr-xr-x | core/libressl/files/update-certdata.sh | 6 | ||||
-rwxr-xr-x | core/libressl/post-install | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/libressl/files/update-certdata.sh b/core/libressl/files/update-certdata.sh index 0c333e7a..5283c329 100755 --- a/core/libressl/files/update-certdata.sh +++ b/core/libressl/files/update-certdata.sh @@ -2,13 +2,13 @@ # # update-certdata.sh -[ -w /etc/ssl ] || { +[ -w "$KISS_ROOT/etc/ssl" ] || { printf '%s\n' "${0##*/}: root required to update cert." >&2 exit 1 } -cd /etc/ssl && { +cd "$KISS_ROOT/etc/ssl" && { wget https://curl.haxx.se/ca/cacert.pem mv -f cacert.pem cert.pem - printf '%s\n' "${0##*/}: updated cert.pm" + printf '%s\n' "${0##*/}: updated cert.pem" } diff --git a/core/libressl/post-install b/core/libressl/post-install index c12dca76..8f76be97 100755 --- a/core/libressl/post-install +++ b/core/libressl/post-install @@ -1,3 +1,3 @@ #!/bin/sh -/etc/ssl/update-certdata.sh +"$KISS_ROOT/etc/ssl/update-certdata.sh" |