#!/bin/sh #---------------------------------------------------------------------------- # /var/spool/hylafax/mimeconverters/image/tiff - tiff2ps converter # # Creation: 2006-12-25 jed # Last Update: $Id$ # # Copyright (c) 2007-@@YEAR@@ Holger Bruenjes, holgerbruenjes(at)gmx(dot)net # # Mime type: image/tiff or image/tif # Comment: Converts TIFF attachments to PS # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version.. #---------------------------------------------------------------------------- mime_path=/var/spool/hylafax/mimeconverters if [ ${#} -gt 0 ] then if [ -f /usr/bin/tiff2ps ] then /usr/bin/tiff2ps -a ${1} else # error ${mime_path}/no-converter-mail "image/tiff" "/usr/bin/tiff2ps" fi else # show usage echo "Usage: ${0} filename" fi