#!/bin/sh -e

case "$1" in
	remove|disappear|upgrade|failed-upgrade|abort-install|abort-upgrade)
		;;

	purge)
		# We can't clean users home directories who were provided with
		# symlinks already, but at least remove them from /etc/skel

		# the 'Installation' case
	
		if [ -L /etc/skel/Examples ]; then
			rm -f /etc/skel/Examples
		fi

		# the 'Live CD' case

		if [ -L /etc/skel/Desktop/Examples ]; then
			rm -f /etc/skel/Desktop/Examples
		fi
		;;
		
	*)
		echo "$0: didn't understand being called with \`$1'" 1>&2
		exit 1
		;;

esac

#DEBHELPER#

