#!/bin/sh

echo -e "Preremoving actions..."

#su $USER -c 'rm -rf /usr/share/mdictionary'

if [ "$1" != "upgrade" ]
then
	echo -e -n "Removing gconf configuration..\n"
	su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/mdictionary/dictionaries'
	su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/mdictionary/engines/bookmarks'
fi

# End automatically added section
