# arg 1: the new package version
post_install() {
	post_upgrade "$1" ""
}

# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
	if [[ "$(vercmp "$2" 0.5)" -lt 0 ]]; then
		rm -f /usr/local/bin/pistat
	fi
}
