post_install()
{
	octave -q -H --no-site-file --eval "pkg('rebuild');"
}

post_upgrade()
{
	post_install
}

post_remove()
{
	post_install
}

op=$1
shift
$op $*
