~carbslinux/repository

ref: 4414ced7c1f50ddf8465ed3dbb01a762fd5884b8 repository/extra/libressl/files/update-certdata.sh -rwxr-xr-x 300 bytes
4414ced7Cem Keylan libinput: bump to 1.16.0 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e
#
# update-certdata.sh

[ -w "$KISS_ROOT/etc/ssl" ] || {
    printf '%s\n' "${0##*/}: root required to update cert." >&2
    exit 1
}

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.pem"
}