case "${ACTION}" in
pre)
	# Remove a configuration symlink if it points to the non-GUI config
	if [ -L etc/hp/hplip.conf ]; then
		case "$(readlink etc/hp/hplip.conf 2>/dev/null)" in
			""|hplip-nogui.conf) rm etc/hp/hplip.conf ;;

		esac
	fi
esac
