Blame vars/ca_certificates.vars

Lucio Andrés Illanes Albornoz (arab, vxp) 258e93
#
Lucio Andrés Illanes Albornoz 2b85d0
# set +o errexit -o noglob is assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 258e93
#
Lucio Andrés Illanes Albornoz (arab, vxp) 258e93
Lucio Andrés Illanes Albornoz (arab, vxp) 258e93
pkg_ca_certificates_install_make_pre() {
Lucio Andrés Illanes Albornoz (arab, vxp) 258e93
	${PKG_DESTDIR}/../ca-certificates/certdata2pem_host
Lucio Andrés Illanes Albornoz (arab, vxp) 258e93
};
Lucio Andrés Illanes Albornoz (arab, vxp) 258e93
Lucio Andrés Illanes Albornoz (arab, vxp) 6b39c9
pkg_ca_certificates_install_make_post() {
Lucio Andrés Illanes Albornoz c6d6e0
	rtl_fileop cd "${PKG_DESTDIR}/share/ca-certificates";
Lucio Andrés Illanes Albornoz (arab, vxp) 6b39c9
	set +o noglob
Lucio Andrés Illanes Albornoz (arab, vxp) 6b39c9
	find . -name '*.crt' | sort | cut -b3- > ${PKG_DESTDIR}/etc/ca-certificates.conf
Lucio Andrés Illanes Albornoz (arab, vxp) 6b39c9
	set -o noglob
Lucio Andrés Illanes Albornoz (arab, vxp) 6b39c9
};
Lucio Andrés Illanes Albornoz (arab, vxp) 6b39c9
Lucio Andrés Illanes Albornoz (arab, vxp) 258e93
# vim:filetype=sh