repository

Carbs Linux repositories
git clone git://git.carbslinux.org/repository
Log | Files | Refs | README | LICENSE

commit 48aaf35e254974960a0f7f6fe11c51e4e1e542d9
parent c2d2b9da854af58e740e8f8cac8a9e3f8b0c6568
Author: Cem Keylan <cem@ckyln.com>
Date:   Mon,  6 Apr 2020 22:25:20 +0300

libressl: add KISS_ROOT env

Diffstat:
Mcore/libressl/files/update-certdata.sh | 6+++---
Mcore/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 @@ -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 @@ -1,3 +1,3 @@ #!/bin/sh -/etc/ssl/update-certdata.sh +"$KISS_ROOT/etc/ssl/update-certdata.sh"