head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	2006.04.24.15.47.17;	author rl03;	state dead;
branches;
next	1.3;
commitid	412e444cf3054567;

1.3
date	2006.01.06.20.57.01;	author rl03;	state Exp;
branches;
next	1.2;

1.2
date	2005.07.07.22.26.03;	author rl03;	state Exp;
branches;
next	1.1;

1.1
date	2004.08.28.22.04.29;	author rl03;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2005.11.30.10.00.00;	author chriswhite;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Removed old versions; housekeeping
(Portage version: 2.1_pre9-r4)
 (Signed Manifest commit)
@
text
@#!/bin/bash
if [ $1 = "install" ]; then
	# somewhat braindead - not sure which Apache we're using, so try both
	[[ -a /etc/apache/modules.d/55_webalizer.conf ]] && file1="/etc/apache/modules.d/55_webalizer.conf"
	[[ -a /etc/apache2/modules.d/55_webalizer.conf ]] && file2="/etc/apache2/modules.d/55_webalizer.conf"
	sed -e "s|DIR|${MY_INSTALLDIR}|g" -i ${file1} ${file2} /etc/webalizer.conf
fi
@


1.3
log
@Revbump for bug #106621.
(Portage version: 2.0.53)
@
text
@@


1.2
log
@Fix config files (#67551)
(Portage version: 2.0.51.22-r1)
@
text
@d2 1
a2 1
if [ $1 = "start" -o $1 = "install" ]; then
@


1.1
log
@Use webapp.eclass. Closes #61399
@
text
@d3 4
a6 1
	sed -e "s|/var/www/webalizer|${MY_INSTALLDIR}|" -i /etc/webalizer.conf
@


1.1.1.1
log
@*** empty log message ***
@
text
@d3 1
a3 4
	# somewhat braindead - not sure which Apache we're using, so try both
	[[ -a /etc/apache/modules.d/55_webalizer.conf ]] && file1="/etc/apache/modules.d/55_webalizer.conf"
	[[ -a /etc/apache2/modules.d/55_webalizer.conf ]] && file2="/etc/apache2/modules.d/55_webalizer.conf"
	sed -e "s|DIR|${MY_INSTALLDIR}|g" -i ${file1} ${file2} /etc/webalizer.conf
@


