ca-certificates: exec update-certificates at post stow time.

This commit is contained in:
Juan RP 2011-06-22 23:05:28 +02:00
parent 196f3249db
commit 8e9af0e041

View file

@ -36,3 +36,10 @@ do_install() {
find . -name '*.crt' | sort | cut -b3- \
> ${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
}