#! /bin/sh
#

case "$1" in
	upgrade)
		;;
	install)
		exit 0
		;;
	abort-upgrade)
		FIXME
		exit 0
		;;
esac

umask 022

#
#	Save dictionary, so that we can check in the postinst
#	if the user accepted the new dictionary. If she did,
#	we can remove the standard dictionaries from /etc/raddb,
#	but retain the locally added ones.
#
cd /etc/raddb
mkdir .dict.saved
cp -a dictionary .dict.saved

exit 0
