File: script

package info (click to toggle)
exim4 4.63-17
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 11,232 kB
  • ctags: 6,113
  • sloc: ansic: 86,696; sh: 4,495; xml: 1,876; makefile: 540; perl: 336
file content (25 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/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