#!/bin/sh

set -e

case "$1" in
	configure)
			if [ `blkid -L HP_TOOLS` ]; then
				echo "set ubuntu-recovery/recovery_hotkey/partition_label HP_TOOLS" | debconf-communicate
			fi
	;;

	abort-upgrade|abort-remove|abort-deconfigure)
	;;

	*)
		echo "postinst called with unknown argument \`$1'" >&2
		exit 1
	;;
esac

exit 0
