# This is a default template for a post-install scriptlet.
# Uncomment only required functions and remove any functions
# you don't need (and this header).

## arg 1:  the new package version
post_install() {
	chmod +s /usr/bin/cape-chroot
	chmod +s /usr/bin/cape-rehome
	groupadd -r chroot
}

post_upgrade() {
	chmod +s /usr/bin/cape-chroot
	chmod +s /usr/bin/cape-rehome
}

## arg 1:  the old package version
pre_remove() {
	groupdel chroot
}

