Import Debian changes 4.89-2+deb9u4
[hcoop/debian/exim4.git] / debian / script
CommitLineData
de45f55a
AM
1#!/bin/bash
2# install as /usr/share/bug/$package/script or /usr/share/bug/$package
3
4UE4CC="/etc/exim4/update-exim4.conf.conf"
5REDIR=">&3"
6if [ "$OUTPUT" = "all" ]; then
7 REDIR=""
8fi
9
10if test -x /usr/sbin/exim4 ; then
11 eval /usr/sbin/exim4 -bV $REDIR
12fi
13if [ "$OUTPUT" != "all" ]; then
14 yesno "Include extended configuration information?" "yep"
15 if [ "$REPLY" != "yep" ] ;then
16 exit 0
17 fi
18fi
19if test -r $UE4CC ; then
20 eval cat $UE4CC $REDIR
21fi
22if test -r /etc/mailname ; then
23 eval echo -n 'mailname:' $REDIR
24 eval cat /etc/mailname $REDIR
25fi
0baa7b9d
SB
26if test -r /etc/default/exim4 ; then
27 eval cat /etc/default/exim4 $REDIR
28fi