case ${ACTION} in
post)
# Sets up required capabilities on helpers.
setcap cap_sys_admin=ep usr/libexec/xbps-src/capmount
setcap cap_sys_admin=ep usr/libexec/xbps-src/capumount
setcap cap_sys_chroot=ep usr/libexec/xbps-src/capchroot
;;
esac