diff options
Diffstat (limited to 'net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild')
-rw-r--r-- | net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild b/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild index 311b2ccc176b..70b1c3f5bda7 100644 --- a/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild +++ b/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild,v 1.4 2007/01/08 20:57:15 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild,v 1.5 2007/01/11 18:37:24 phreak Exp $ inherit eutils @@ -30,11 +30,11 @@ src_install() { use amd64 && dosbin x86_64/ipw3945d # Give the ipw3945d access to the binary - chown ipw3945d:root /sbin/ipw3945d - chmod 04450 /sbin/ipw3945d + chown ipw3945d:root "${D}/sbin/ipw3945d" + chmod 04450 "${D}/sbin/ipw3945d" keepdir /var/run/ipw3945d - chown ipw3945d:root /var/run/ipw3945d + chown ipw3945d:root "${D}/var/run/ipw3945d" newconfd "${FILESDIR}/${PN}-conf.d" ${PN} newinitd "${FILESDIR}/${PN}-init.d" ${PN} @@ -62,12 +62,13 @@ pkg_postinst() { # Fix the permissions of /sbin/ipw3945d ebegin "Fixing permissions of ${ROOT}sbin/ipw3945d" - chmod 04450 "${ROOT}"sbin/ipw3945d + chmod 04450 "${ROOT}sbin/ipw3945d" + chown ipw3945d:root "${ROOT}sbin/ipw3945d" eend $? # Fixing ownership of /var/run/ipw3945d ebegin "Fixing ownership of ${ROOT}var/run/ipw3945d" - chown ipw3945d:root "${ROOT}"var/run/ipw3945d + chown ipw3945d:root "${ROOT}var/run/ipw3945d" eend $? echo |