diff options
author | Roy Marples <uberlord@gentoo.org> | 2007-04-02 11:40:22 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2007-04-02 11:40:22 +0000 |
commit | 857bc4cb96dffb96eab8ee2bdbf8104d3d63a77d (patch) | |
tree | e561f47d7f92ee280f2a737fd68fd68aee6f2e05 /app-antivirus/clamav/files | |
parent | Do not attempt to install README & TODO as documentation, these files do not ... (diff) | |
download | gentoo-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/clamav/files')
-rw-r--r-- | app-antivirus/clamav/files/clamd.rc | 4 |
1 files changed, 2 insertions, 2 deletions
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 |