summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-04-02 11:40:22 +0000
committerRoy Marples <uberlord@gentoo.org>2007-04-02 11:40:22 +0000
commit857bc4cb96dffb96eab8ee2bdbf8104d3d63a77d (patch)
treee561f47d7f92ee280f2a737fd68fd68aee6f2e05 /app-antivirus
parentDo not attempt to install README & TODO as documentation, these files do not ... (diff)
downloadgentoo-2-857bc4cb96dffb96eab8ee2bdbf8104d3d63a77d.tar.gz
gentoo-2-857bc4cb96dffb96eab8ee2bdbf8104d3d63a77d.tar.bz2
gentoo-2-857bc4cb96dffb96eab8ee2bdbf8104d3d63a77d.zip
De bashify init script.
(Portage version: 2.1.2.3)
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav/ChangeLog5
-rw-r--r--app-antivirus/clamav/files/clamd.rc4
2 files changed, 6 insertions, 3 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog
index 710e1d0bb7e9..3f7666fd51c3 100644
--- a/app-antivirus/clamav/ChangeLog
+++ b/app-antivirus/clamav/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-antivirus/clamav
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.218 2007/03/28 18:17:38 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.219 2007/04/02 11:40:22 uberlord Exp $
+
+ 02 Apr 2007; Roy Marples <uberlord@gentoo.org> files/clamd.rc:
+ De bashify init script.
28 Mar 2007; Raúl Porcel <armin76@gentoo.org> clamav-0.90.ebuild:
ia64 stable wrt bug 167201
diff --git a/app-antivirus/clamav/files/clamd.rc b/app-antivirus/clamav/files/clamd.rc
index 309a8fc8c924..e2dfbb1a8f4a 100644
--- a/app-antivirus/clamav/files/clamd.rc
+++ b/app-antivirus/clamav/files/clamd.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.rc,v 1.12 2007/03/25 19:25:17 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.rc,v 1.13 2007/04/02 11:40:22 uberlord Exp $
opts="logfix"
@@ -87,7 +87,7 @@ logfix() {
# fix freshclam log permissions
# (might be clobbered by logrotate or something)
logfile=`awk '$1 == "UpdateLogFile" { print $2 }' /etc/freshclam.conf`
- if [[ -n "${logfile}" && -n "${clamav_user}" ]]; then
+ if [ -n "${logfile}" -a -n "${clamav_user}" ]; then
if [ ! -f "${logfile}" ]; then
touch ${logfile}
fi