blob: b59c51780987602bf1a8f7b0850327a8ee600b63 (
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 with Tkinter , which does not
appear to be installed on this system. Python/Tkinter can be found in
the FreeBSD Ports Collection under x11/py-tkinter.
EOF
exit 1
fi
|