summaryrefslogtreecommitdiffstats
path: root/debian/script
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:16:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:16:14 +0000
commit318a1a2246a9f521e5a02313dcc1f6d68a0af7ec (patch)
treee28c79d572e488bf782444e31d81291b99ef1932 /debian/script
parentAdding upstream version 4.96. (diff)
downloadexim4-318a1a2246a9f521e5a02313dcc1f6d68a0af7ec.tar.xz
exim4-318a1a2246a9f521e5a02313dcc1f6d68a0af7ec.zip
Adding debian version 4.96-15+deb12u4.debian/4.96-15+deb12u4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/script')
-rwxr-xr-xdebian/script28
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/script b/debian/script
new file mode 100755
index 0000000..bc0ef5c
--- /dev/null
+++ b/debian/script
@@ -0,0 +1,28 @@
+#!/bin/bash
+# install as /usr/share/bug/$package/script or /usr/share/bug/$package
+
+UE4CC="/etc/exim4/update-exim4.conf.conf"
+REDIR=">&3"
+if [ "$OUTPUT" = "all" ]; then
+ REDIR=""
+fi
+
+if test -x /usr/sbin/exim4 ; then
+ eval /usr/sbin/exim4 -bV $REDIR
+fi
+if [ "$OUTPUT" != "all" ]; then
+ yesno "Include extended configuration information?" "yep"
+ if [ "$REPLY" != "yep" ] ;then
+ exit 0
+ fi
+fi
+if test -r $UE4CC ; then
+ eval cat $UE4CC $REDIR
+fi
+if test -r /etc/mailname ; then
+ eval echo -n 'mailname:' $REDIR
+ eval cat /etc/mailname $REDIR
+fi
+if test -r /etc/default/exim4 ; then
+ eval cat /etc/default/exim4 $REDIR
+fi