1scripts: {
2 # XXX If pkg picks up a mechanism to detect in the post-install script
3 # files being added or removed, we should use it instead to gate the
4 # rehash.
5 post-install = <<EOD
6 [ -x /usr/sbin/certctl ] && env DESTDIR=${PKG_ROOTDIR} \
7 /usr/sbin/certctl rehash
8EOD
9}
10