#
# This script takes care about perms in required dirs.
#
case "${ACTION}" in
post)
	if [ ! -d var/log/gdm ]; then
		mkdir -p var/log/gdm
		chown root:gdm var/log/gdm
	fi
	[ ! -d var/cache/gdm ] && mkdir -p var/cache/gdm
	chown gdm:gdm var/lib/gdm > /dev/null
	chown -R gdm:gdm var/lib/gdm/.gconf.mandatory
	;;
esac
