blob: 0c0131e2dd3769121493cdc508a23dd4750e5788 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#! /bin/sh -e
set -e
if [ "$1" = purge ]; then
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
if [ "$(readlink /etc/systemd/system/samba-ad-dc.service)" = '/dev/null' ]; then
# Remove masking done by postinst (#832352)
rm /etc/systemd/system/samba-ad-dc.service
fi
if [ -f /etc/apparmor.d/samba/smbd-shares ]; then
rm /etc/apparmor.d/samba/smbd-shares
fi
# compat symlink for a dir used for print jobs in the past
rm -f /var/spool/samba
fi
#DEBHELPER#
|