ca-certificates: exec update-certificates at post stow time.
This commit is contained in:
parent
196f3249db
commit
8e9af0e041
1 changed files with 7 additions and 0 deletions
|
@ -36,3 +36,10 @@ do_install() {
|
||||||
find . -name '*.crt' | sort | cut -b3- \
|
find . -name '*.crt' | sort | cut -b3- \
|
||||||
> ${DESTDIR}/etc/ca-certificates.conf
|
> ${DESTDIR}/etc/ca-certificates.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_stow() {
|
||||||
|
[ ! -d etc/ca-certificates/update.d ] && \
|
||||||
|
install -d ${XBPS_MASTERDIR}/etc/ca-certificates/update.d
|
||||||
|
mkdir -p ${XBPS_MASTERDIR}/etc/ssl/certs
|
||||||
|
${DESTDIR}/usr/sbin/update-ca-certificates --fresh
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue