spec and install.sh update

none
This commit is contained in:
Jerry.Benton 2016-05-10 20:43:07 -04:00
parent 19e7116890
commit d8b69d76b6
2 changed files with 10 additions and 0 deletions

View file

@ -203,6 +203,7 @@ if [ $EPEL == 1 ]; then
else else
# user did not select EPEL so clamav is not available via yum # user did not select EPEL so clamav is not available via yum
CAV=0
CAVOPTION= CAVOPTION=
fi fi

View file

@ -406,6 +406,15 @@ if [ -d '/usr/share/MailScanner/reports' -a ! -L '/etc/MailScanner/reports' ]; t
ln -s /usr/share/MailScanner/reports /etc/MailScanner/reports ln -s /usr/share/MailScanner/reports /etc/MailScanner/reports
fi fi
# remove init.d symlink if exists
if [ -L /etc/init.d/MailScanner ]; then
rm -f /etc/init.d/MailScanner
fi
if [ -L /etc/init.d/mailscanner ]; then
rm -f /etc/init.d/mailscanner
fi
# create init.d symlink # create init.d symlink
if [ -d '/etc/init.d' -a ! -L '/etc/init.d/mailscanner' -a -f '/usr/lib/MailScanner/init/ms-init' ]; then if [ -d '/etc/init.d' -a ! -L '/etc/init.d/mailscanner' -a -f '/usr/lib/MailScanner/init/ms-init' ]; then
ln -s /usr/lib/MailScanner/init/ms-init /etc/init.d/mailscanner ln -s /usr/lib/MailScanner/init/ms-init /etc/init.d/mailscanner