Blame vars/ca_certificates.vars

Lucio Andrés Illanes Albornoz (arab, vxp) 258e93
#
Lucio Andrés Illanes Albornoz e1d469
# set +o errexit -o noglob -o nounset 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 bf9edf
	"${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
	set +o noglob
Lucio Andrés Illanes Albornoz bf9edf
	if ! rtl_fileop cd "${PKG_DESTDIR}/share/ca-certificates"\
Lucio Andrés Illanes Albornoz bf9edf
	|| ! find . -name '*.crt' | sort | cut -b3- > ${PKG_DESTDIR}/etc/ca-certificates.conf; then
Lucio Andrés Illanes Albornoz bf9edf
		set -o noglob; return 1;
Lucio Andrés Illanes Albornoz bf9edf
	fi;
Lucio Andrés Illanes Albornoz bf9edf
	set -o noglob;
Lucio Andrés Illanes Albornoz (arab, vxp) 6b39c9
};
Lucio Andrés Illanes Albornoz (arab, vxp) 6b39c9
Lucio Andrés Illanes Albornoz bf9edf
# vim:filetype=sh textwidth=0