diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:32:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:32:04 +0000 |
commit | d61fa667198192a0943f05b5f3a5b34fe2a0f21c (patch) | |
tree | be9570b089ec7301bb58902cbb0915a0b72dd7e4 /debian/samba-ad-dc.postinst | |
parent | Adding debian version 2:4.20.1+dfsg-3. (diff) | |
download | samba-d61fa667198192a0943f05b5f3a5b34fe2a0f21c.tar.xz samba-d61fa667198192a0943f05b5f3a5b34fe2a0f21c.zip |
Adding debian version 2:4.20.1+dfsg-4.debian/2%4.20.1+dfsg-4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/samba-ad-dc.postinst')
-rw-r--r-- | debian/samba-ad-dc.postinst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/samba-ad-dc.postinst b/debian/samba-ad-dc.postinst new file mode 100644 index 0000000..ddc75ea --- /dev/null +++ b/debian/samba-ad-dc.postinst @@ -0,0 +1,15 @@ +#!/bin/sh + +# begin-remove-after: released:trixie +# protective diversion of files moved from / to /usr, to avoid file loss. +# Only for upgrades. +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then + dpkg-divert --package #PACKAGE# --no-rename \ + --divert /lib/systemd/system/samba-ad-dc.service.usr-is-merged \ + --remove /lib/systemd/system/samba-ad-dc.service +fi +# end-remove-after + +#DEBHELPER# + +exit 0 |