#!/bin/sh
set -e
#set -x

. /usr/share/debconf/confmodule

if [ "$1" = "configure" ]; then
	# find out if we're supposed to suid root or not
	db_get prospect/suid || true
	if [ "$RET" = "true" ]
	then
		chmod 4755 /usr/bin/prospect
	else
		chmod 755 /usr/bin/prospect
	fi
fi

