summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2006-12-24 21:16:34 +0000
committerAndrej Kacian <ticho@gentoo.org>2006-12-24 21:16:34 +0000
commitb155f2575d330b9e874d00e69fd0a3972114de1f (patch)
tree79b73dda5137421b098f98cf509d25738061cd0e /mail-filter
parentInclude script for logrotate (and logrotate USE flag). Closes bug #122070, re... (diff)
downloadgentoo-2-b155f2575d330b9e874d00e69fd0a3972114de1f.tar.gz
gentoo-2-b155f2575d330b9e874d00e69fd0a3972114de1f.tar.bz2
gentoo-2-b155f2575d330b9e874d00e69fd0a3972114de1f.zip
Do not touch existing razor files. Should fix bug #144789 by Cédric Krier <cedk at gentoo.org>.
(Portage version: 2.1.2_rc3-r7)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/amavisd-new/ChangeLog6
-rw-r--r--mail-filter/amavisd-new/amavisd-new-2.4.4.ebuild8
2 files changed, 7 insertions, 7 deletions
diff --git a/mail-filter/amavisd-new/ChangeLog b/mail-filter/amavisd-new/ChangeLog
index fef96b850104..52fa965080a0 100644
--- a/mail-filter/amavisd-new/ChangeLog
+++ b/mail-filter/amavisd-new/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/amavisd-new
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.98 2006/12/18 17:00:35 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.99 2006/12/24 21:16:34 ticho Exp $
+
+ 24 Dec 2006; Andrej Kacian <ticho@gentoo.org> amavisd-new-2.4.4.ebuild:
+ Do not touch existing razor files. Should fix bug #144789 by Cédric Krier
+ <cedk at gentoo.org>.
*amavisd-new-2.4.4 (18 Dec 2006)
diff --git a/mail-filter/amavisd-new/amavisd-new-2.4.4.ebuild b/mail-filter/amavisd-new/amavisd-new-2.4.4.ebuild
index d8327434fa71..0911ebe978ab 100644
--- a/mail-filter/amavisd-new/amavisd-new-2.4.4.ebuild
+++ b/mail-filter/amavisd-new/amavisd-new-2.4.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-2.4.4.ebuild,v 1.1 2006/12/18 17:00:35 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-2.4.4.ebuild,v 1.2 2006/12/24 21:16:34 ticho Exp $
inherit eutils
@@ -145,16 +145,12 @@ src_install() {
done
if $(has_version mail-filter/razor) ; then
- if [ ! -f ${AMAVIS_ROOT}/.razor/razor-agent.conf ] ; then
+ if [ ! -d ${AMAVIS_ROOT}/.razor ] ; then
einfo "Setting up initial razor config files..."
razor-admin -create -home=${D}/${AMAVIS_ROOT}/.razor
sed -i -e "s:debuglevel\([ ]*\)= .:debuglevel\1= 0:g" \
${D}/${AMAVIS_ROOT}/.razor/razor-agent.conf
- else
- einfo "Copying existing razor config files..."
- insinto ${AMAVIS_ROOT}/.razor
- doins ${AMAVIS_ROOT}/.razor/*.{conf,lst}
fi
fi