summaryrefslogtreecommitdiffhomepage
path: root/vars/ca_certificates.vars
blob: 9a162dfe15c0b89252e818c9ad04d6e2accc904c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# 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