diff options
author | mandree <mandree@FreeBSD.org> | 2013-01-10 09:46:37 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2013-01-10 09:46:37 +0800 |
commit | 5676098ee47d19692070eac5fa09f2ecdb272ff3 (patch) | |
tree | 045868738276ccce8a582e59ca2ad4943c616f77 /mail | |
parent | 4e15e603f02e7f8c86bb85ba984437b1201174c7 (diff) | |
download | freebsd-ports-gnome-5676098ee47d19692070eac5fa09f2ecdb272ff3.tar.gz freebsd-ports-gnome-5676098ee47d19692070eac5fa09f2ecdb272ff3.tar.zst freebsd-ports-gnome-5676098ee47d19692070eac5fa09f2ecdb272ff3.zip |
Fix up my patch error.
Not bumping PORTREVISION because there is no functional change,
the script has either replaced itself through exec, or exited.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/fetchmail/files/fetchmailconf.in | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/mail/fetchmail/files/fetchmailconf.in b/mail/fetchmail/files/fetchmailconf.in index 717cc15467d4..b1a53b24a54b 100644 --- a/mail/fetchmail/files/fetchmailconf.in +++ b/mail/fetchmail/files/fetchmailconf.in @@ -20,25 +20,3 @@ the FreeBSD Ports Collection in lang/python, and Tkinter for Python can be found in x11-toolkits/py-tkinter. EOF exit 1 -#!/bin/sh -# -# Wrapper for the real fetchmailconf. Checks whether Python and Tkinter are -# installed, and runs the real fetchmailconf or alerts the user, as appropriate. -# -# $FreeBSD$ - -LOCALBASE=%%LOCALBASE%% - -if [ -x $LOCALBASE/bin/python ] ; then - PYTHON_VERSION=python$(${LOCALBASE}/bin/python -c 'import sys; print sys.version[:3]' 2>/dev/null) - if [ -e ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_tkinter.so ]; then - exec ${LOCALBASE}/libexec/fetchmailconf.py "$@" - fi -fi -cat <<EOF -The fetchmailconf program requires Python with Tkinter, which does -not appear to be installed on this system. Python can be found in -the FreeBSD Ports Collection in lang/python, and Tkinter for Python -can be found in x11-toolkits/py-tkinter. -EOF -exit 1 |