summaryrefslogtreecommitdiff
path: root/debian/sendmail-cf.preinst.in
diff options
context:
space:
mode:
authorAndreas Beckmann <anbe@debian.org>2013-10-22 00:42:22 +0200
committerAndreas Beckmann <anbe@debian.org>2013-10-22 00:42:22 +0200
commit9b5080da9228d71649fb3979e9ee0164e013c880 (patch)
tree23bddac687380781794934a9a02bf2957b2f51dc /debian/sendmail-cf.preinst.in
parent80226204743ae8203a4c846949a0b2efc91c833b (diff)
downloadsendmail-9b5080da9228d71649fb3979e9ee0164e013c880.tar.gz
move all control file templates to debian/
Diffstat (limited to 'debian/sendmail-cf.preinst.in')
-rw-r--r--debian/sendmail-cf.preinst.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/sendmail-cf.preinst.in b/debian/sendmail-cf.preinst.in
new file mode 100644
index 0000000..d81e779
--- /dev/null
+++ b/debian/sendmail-cf.preinst.in
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+
+PACKAGE=sendmail-cf;
+
+if [ -L @docdir@/$PACKAGE ]; then
+ # /usr/share/doc/$PACKAGE was a symlink to /usr/share/doc/sendmail
+ rm @docdir@/$PACKAGE
+fi
+if [ -L /usr/share/bug/$PACKAGE ]; then
+ rm /usr/share/bug/$PACKAGE
+fi
+
+#DEBHELPER#