#!/bin/sh #---------------------------------------------------------------------------- # Copyright (c) 2004-2008 Sebastian Scholze # # Creation: 10.06.2004 ss # Last Update: $Id$ # # 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. #------------------------------------------------------------------------------ # include eislib . /var/install/include/eislib installed_mail_version=`/var/install/bin/check-version mail 1.2.7` case installed_mail_version in not-installed|new ) # wrong version mecho --info "required mail package v1.2.7, or newer, not installed - function aborted." anykey ;; * ) # installed / old if [ -f /var/install/bin/mail-copy-exiscan-conf ] ; then /var/install/bin/mail-copy-exiscan-conf ClamAV /usr/share/clamav/clamav-exiscan.conf else mecho --info "required mail package v1.2.7, or newer, not installed - function aborted." anykey fi ;; esac exit 0