File debian.supervisor.postinst of Package supervisor

#!/bin/sh
set -e
# Automatically added by dh_pysupport
if which update-python-modules >/dev/null 2>&1; then
     update-python-modules  supervisor.public
     update-python-modules -p
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/supervisor" ]; then
	update-rc.d supervisor defaults >/dev/null
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
		invoke-rc.d supervisor start || exit $?
	else
		/etc/init.d/supervisor start || exit $?
	fi
fi
# End automatically added section