#!/bin/sh
set -e

case "$1" in
  install | configure )
    # debhelper automatically senses the installation of the systemd service file and
    # enables it. Since this is one we only want the user to enable at the individual
    # user level, let's disable it for all users.
    if [ -e /etc/systemd/user/pipewire.service.wants/ubuntustudio-dummy-audio.service ]; then
      rm -f /etc/systemd/user/pipewire.service.wants/ubuntustudio-dummy-audio.service
    fi
  ;;
  *)
    # crickets
  ;;
esac

#DEBHELPER#
