summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-proxy/dansguardian/dansguardian-2.8.0.4.ebuild')
-rw-r--r--www-proxy/dansguardian/dansguardian-2.8.0.4.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/www-proxy/dansguardian/dansguardian-2.8.0.4.ebuild b/www-proxy/dansguardian/dansguardian-2.8.0.4.ebuild
index 2846f2c7da8f..ec6025264ca7 100644
--- a/www-proxy/dansguardian/dansguardian-2.8.0.4.ebuild
+++ b/www-proxy/dansguardian/dansguardian-2.8.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-proxy/dansguardian/dansguardian-2.8.0.4.ebuild,v 1.2 2005/03/08 19:47:54 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-proxy/dansguardian/dansguardian-2.8.0.4.ebuild,v 1.3 2005/03/10 22:09:23 mrness Exp $
inherit eutils
@@ -34,14 +34,13 @@ src_install() {
if [ -d "/etc/logrotate.d" ]; then mkdir -p ${D}/etc/logrotate.d; fi
make install || die "make install failed"
- dodir /etc/init.d
- cp ${FILESDIR}/dansguardian.init ${D}/etc/init.d/dansguardian
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/dansguardian.init dansguardian
rm -rf ${D}/etc/rc.d
- einfo "Fixing location of initscript"
- sed 's/rc.d\///' ${D}/etc/dansguardian/logrotation > ${D}/etc/dansguardian/logrotation.fixed
- mv -f ${D}/etc/dansguardian/logrotation.fixed ${D}/etc/dansguardian/logrotation
+ #Fixing location of initscript
+ sed -i -e 's/rc.d\///' ${D}/etc/dansguardian/logrotation
dodoc INSTALL README LICENSE
}