blob: 3f21a8b42b9a15e7fe693d96e07d969cb805bf2a (
plain)
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
26
|
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
if [ -n "$EX4DEBUG" ]; then
echo "now debugging $0 $@"
set -x
fi
if [ -d /var/spool/exim/input ] ; then
# With "head -n 1" this shouldn't be expensive.
oldmails=`find /var/spool/exim/input/ -type f -print | head -n 1`
fi
if [ "x${oldmails}" != "x" ] ; then
db_version 2.0
db_input medium exim4/move_exim3_spool || true
db_go || true
fi
if [ "reconfigure" = "$1" ]; then
db_beginblock
db_input low exim4-base/drec || [ "$?" = "30" ]
db_go
fi
|