diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 09:44:08 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 09:44:08 +0000 |
commit | 933bbaf3ed7bd659a5c044745aea763815928598 (patch) | |
tree | 6fe3906ff9f7121999800da3683c206d128b7d39 /debian/script | |
parent | Adding upstream version 4.94.2. (diff) | |
download | exim4-debian.tar.xz exim4-debian.zip |
Adding debian version 4.94.2-7+deb11u2.debian/4.94.2-7+deb11u2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/script')
-rwxr-xr-x | debian/script | 28 |
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 |