Lucio Andrés Illanes Albornoz (arab, vxp) 258e93
#
Lucio Andrés Illanes Albornoz (arab, vxp) 258e93
# set -o errexit -o noglob are 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 (arab, vxp) 6b39c9
	ex_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