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 | 4a72f9adcd9d882be122cb7dd68b1de957753be7 (patch) | |
tree | d4f60863673399701d3fa0254dd3c8970e311dc5 /debian/samba-ad-dc.preinst | |
parent | Releasing progress-linux version 2:4.20.1+dfsg-3~progress7.99u1. (diff) | |
download | samba-4a72f9adcd9d882be122cb7dd68b1de957753be7.tar.xz samba-4a72f9adcd9d882be122cb7dd68b1de957753be7.zip |
Merging debian version 2:4.20.1+dfsg-4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/samba-ad-dc.preinst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/samba-ad-dc.preinst b/debian/samba-ad-dc.preinst new file mode 100644 index 0000000..b6f6b71 --- /dev/null +++ b/debian/samba-ad-dc.preinst @@ -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" = "upgrade" ] || [ "$1" = "install" ]; then + dpkg-divert --package #PACKAGE# --no-rename \ + --divert /lib/systemd/system/samba-ad-dc.service.usr-is-merged \ + --add /lib/systemd/system/samba-ad-dc.service +fi +# end-remove-after + +#DEBHELPER# + +exit 0 |