From 1ab42dd5cfe19a85715af013d01eae9261e17e92 Mon Sep 17 00:00:00 2001 From: Matthew Hunt Date: Sat, 13 Jun 1998 19:26:55 +0000 Subject: Upgrade to 4.4.9. Add a wrapper around fetchmailconf that checks whether Python is installed, and emits a helpful message if it isn't. PR: 6866 Submitted by: Ville Eerola (wrapper by mph) --- mail/fetchmail/files/fetchmailconf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 mail/fetchmail/files/fetchmailconf (limited to 'mail/fetchmail/files/fetchmailconf') diff --git a/mail/fetchmail/files/fetchmailconf b/mail/fetchmail/files/fetchmailconf new file mode 100644 index 000000000000..98a3d0f42adb --- /dev/null +++ b/mail/fetchmail/files/fetchmailconf @@ -0,0 +1,19 @@ +#!/bin/sh +# +# Wrapper for the real fetchmailconf. Checks whether Python is installed, +# and runs the real fetchmailconf or alerts the user, as appropriate. +# +# $Id$ + +PREFIX=@PREFIX@ + +if [ -e $PREFIX/bin/python ]; then + exec $PREFIX/libexec/fetchmailconf.bin +else + cat <