#!/bin/sh -e

case "$1" in
	install|upgrade|configure)
		/usr/bin/curl https://packages.grafana.com/gpg.key | sudo apt-key add -
	;;

	abort-upgrade)
	;;

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