#!/bin/sh

set -e

case "$1" in
  configure)
	# Set up udev rules symlink
	L="/etc/udev/rules.d/z60_alsa-utils.rules"
	[ ! -z "$2" ] || [ -e "$L" ] || [ -L "$L" ] || ln -s ../alsa-utils.rules "$L"
	;;
  abort-upgrade|abort-remove|abort-deconfigure)
	# Nothing to do because we didn't take any action in the prerm
	;;
  *)
	echo "postinst called with unknown argument \`$1'" >&2
	exit 1
	;;
esac

#DEBHELPER#

