Edit

IABSD.fr/ports/mail/fetchmail/files

Branch :

  • Show log

    Commit

  • Author : fgsch
    Date : 2001-12-17 21:45:49
    Hash : 27e8a3e3
    Message : o update to fetchmail 5.9.6 o regenerate checksum files.

  • fetchmailconf
  • #!/bin/sh
    #
    # Wrapper for the real fetchmailconf. Checks whether Python is installed,
    # and runs the real fetchmailconf or alerts the user, as appropriate.
    #
    
    PREFIX=@PREFIX@
    
    if [ -x $PREFIX/bin/python ]; then
    	exec $PREFIX/libexec/fetchmailconf.bin
    else
    	cat <<EOF
    The fetchmailconf program requires Python, which does not appear to be
    installed on this system. Python can be found in the OpenBSD Ports
    Collection under lang/python.
    EOF
    	exit 1
    fi