From cee3e2dc567f9df82ce9d665e27590c740e0a7f3 Mon Sep 17 00:00:00 2001
From: Sven Wegener <swegener@gentoo.org>
Date: Sat, 28 Apr 2007 17:49:28 +0000
Subject: Fix *initd, *confd and *envd calls (#173884, #174266)
 Package-Manager: portage-2.1.2.5

---
 app-laptop/smcinit/smcinit-0.4.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

(limited to 'app-laptop/smcinit/smcinit-0.4.ebuild')

diff --git a/app-laptop/smcinit/smcinit-0.4.ebuild b/app-laptop/smcinit/smcinit-0.4.ebuild
index 8bb78ea60f66..9773a8c8067a 100644
--- a/app-laptop/smcinit/smcinit-0.4.ebuild
+++ b/app-laptop/smcinit/smcinit-0.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/smcinit/smcinit-0.4.ebuild,v 1.4 2006/08/23 13:30:26 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/smcinit/smcinit-0.4.ebuild,v 1.5 2007/04/28 17:49:10 swegener Exp $
 
 inherit eutils
 
@@ -46,10 +46,8 @@ src_install()
 	dohtml RobMiller-irda.html
 
 	# ...after that an init script...
-	exeinto /etc/init.d
-	newexe ${FILESDIR}/${PN}.initscript ${PN}
+	newinitd ${FILESDIR}/${PN}.initscript ${PN}
 
 	# ...and finally its config file
-	insinto /etc/conf.d
-	newins ${FILESDIR}/${PN}.conf ${PN}
+	newconfd ${FILESDIR}/${PN}.conf ${PN}
 }
-- 
cgit v1.2.3-65-gdbad