summaryrefslogtreecommitdiffhomepage
path: root/vars/ca_certificates.vars
blob: 69d7bfb7277de2d1549eca24e64b804dede53364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# set +o errexit -o noglob is assumed.
#

pkg_ca_certificates_install_make_pre() {
	${PKG_DESTDIR}/../ca-certificates/certdata2pem_host
};

pkg_ca_certificates_install_make_post() {
	rtl_fileop cd "${PKG_DESTDIR}/share/ca-certificates";
	set +o noglob
	find . -name '*.crt' | sort | cut -b3- > ${PKG_DESTDIR}/etc/ca-certificates.conf
	set -o noglob
};

# vim:filetype=sh