#!/bin/sh set -e # Automatically added by dh_installsystemd/12 if [ -d /run/systemd/system ] && [ "$1" = remove ]; then deb-systemd-invoke stop 'bumblebeed.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/12 if [ -x "/etc/init.d/bumblebeed" ] && [ "$1" = remove ]; then invoke-rc.d --skip-systemd-native bumblebeed stop || exit 1 fi # End automatically added section # Automatically added by dh_installdeb/12 dpkg-maintscript-helper rm_conffile /etc/modprobe.d/bumblebee.conf 3.2.1-6\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/bumblebee 3.2.1-8\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/init/bumblebeed.conf 3.2.1-18\~ -- "$@" # End automatically added section