blob: 78ba6af9004f410f897ee91959260f28d2a6f38c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
#
# Wrapper for the real fetchmailconf. Checks whether Python is installed,
# and runs the real fetchmailconf or alerts the user, as appropriate.
#
# $FreeBSD$
PREFIX=@PREFIX@
if [ -e $PREFIX/bin/python ]; then
exec $PREFIX/libexec/fetchmailconf.bin
else
cat <<EOF
The fetchmailconf program requires Python, which does not appear to be
installed on this system. Python can be found in the FreeBSD Ports
Collection under lang/python.
EOF
exit 1
fi
|