1
0
Fork 0
postfix/debian/postfix.preinst
Daniel Baumann f482db309e
Adding debian version 3.10.2-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 14:19:33 +02:00

16 lines
430 B
Bash

#!/bin/sh
set -e
# create spool dir with right SE Linux security context (#781776)
mkdir -Zp -m755 /var/spool/postfix
if [ upgrade = "$1" ] && dpkg --compare-versions "$2" lt-nl 3.9.1-7~
then # we used to copy the .proto files from /usr/share, now they're conffiles
for x in main master; do
if cmp -s /usr/share/postfix/$x.cf.dist /etc/postfix/$x.cf.proto
then rm -f /etc/postfix/$x.cf.proto
fi
done
fi
#DEBHELPER#