case "${ACTION}" in
post)
	chown root:xbuilder usr/bin/xbps-uchroot
	chmod 4750 usr/bin/xbps-uchroot

	if [ -d usr/sbin -a ! -L /usr/sbin ]; then
		for f in usr/bin/xbps-*; do
			ln -sr $f usr/sbin/$(basename $f)
		done
	fi
	;;
esac
