#!/bin/sh

# We made a boo boo with 0.3.4-1's postrm script which will cause package
# upgrades to fail. So, if $1 == upgrade and $2 == "0.3.4-1" then remove
# the old package's postrm script from the system before it gets a chance
# to be run.
if [ ${1} == "upgrade" ] && [ ${2} == "0.3.4-1" ]; then
	rm -f /var/lib/dpkg/info/barriosquare.postrm
fi
