freebsd-ports/mail/fetchmail/files/fetchmailconf
Peter Pentchev 8191d1f8fb Update to 5.6.3, skipping the slightly buggy 5.6.2.
Also, correct the help message in the fetchmailconf wrapper script -
fetchmailconf depends on py-tkinter, not just Python.

Submitted by:	Jack Twilley <jmt@inktomi.com> - the fetchmailconf inaccuracy
Approved by:	maintainer
2001-02-10 08:17:54 +00:00

19 lines
489 B
Bash

#!/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