mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-27 21:29:02 +00:00
68af2586e7
PR: 27754 Submitted by: Esa Karkkainen ejk@iki.fi
20 lines
498 B
Bash
20 lines
498 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-toolkits/py-tkinter.
|
|
EOF
|
|
exit 1
|
|
fi
|