#!/bin/sh
set -e

# folder that should remain after updates and removes
# /home/user/.qtmobilehotspot

if [ "$1" == "remove" ]; then

	# clear configuration
	gconftool --recursive-unset /apps/qtmobilehotspot

fi

if [ "$1" == "purge" ]; then

	# folder that should remain after updates
	persistentFolder=/home/user/.qtmobilehotspot
	[ -d $persistentFolder ] && rm -r $persistentFolder

fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#

exit 0

