fetchmailconf 383 B

12345678910111213141516
  1. #!/bin/sh
  2. #
  3. # Wrapper for the real fetchmailconf. Checks whether Python is installed,
  4. # and runs the real fetchmailconf or alerts the user, as appropriate.
  5. #
  6. if [ -x ${MODPY_BIN} -a -d ${MODPY_LIBDIR}/lib-tk ]; then
  7. exec ${PREFIX}/libexec/fetchmailconf.bin
  8. else
  9. cat <<EOF
  10. Please install the python and python-tkinter packages, then try running
  11. fetchmailconf again.
  12. EOF
  13. exit 1
  14. fi