#!/bin/sh set -e # Automatically added by dh_installsystemd/13.24.2 if [ -z "$DPKG_ROOT" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then deb-systemd-invoke stop 'winbind.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/13.24.2 if [ -z "$DPKG_ROOT" ] && [ "$1" = remove ] && [ -x "/etc/init.d/winbind" ] ; then invoke-rc.d --skip-systemd-native winbind stop || exit 1 fi # End automatically added section # Automatically added by dh_installdeb/13.24.2 dpkg-maintscript-helper rm_conffile /etc/logrotate.d/winbind 2:4.19.4\+dfsg-3\~ -- "$@" # End automatically added section