Blob Blame History Raw
#
# 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() {
	set +o noglob
	if ! rtl_fileop cd "${PKG_DESTDIR}/share/ca-certificates"\
	|| ! find . -name '*.crt' | sort | cut -b3- > ${PKG_DESTDIR}/etc/ca-certificates.conf; then
		set -o noglob; return 1;
	fi;
	set -o noglob;
};

# vim:filetype=sh textwidth=0