net-firewall/nftables: correct install utility function calls
authorNicholas Vinson <nvinson234@gmail.com>
Wed, 15 Jun 2016 12:59:27 +0000 (05:59 -0700)
committerGöktürk Yüksek <gokturk@gentoo.org>
Wed, 15 Jun 2016 15:42:58 +0000 (11:42 -0400)
Previous modification changed the cp command to:
    instinto /usr/libexec/${PN}
    doins "${FILESDIR}"/libexec/${PN}.sh

However, this change is incorrect as it strips the exec flag from ${PN}.sh.
This commit changes the insinto and doins to exeinto and doexe which fixes the
problem.

Gentoo-bug: 586000

Package-Manager: portage-2.3.0_rc1

net-firewall/nftables/nftables-0.5-r4.ebuild [moved from net-firewall/nftables/nftables-0.5-r3.ebuild with 95% similarity]

similarity index 95%
rename from net-firewall/nftables/nftables-0.5-r3.ebuild
rename to net-firewall/nftables/nftables-0.5-r4.ebuild
index aa54e058a9318740c9c91fe8755d2379cc66039c..9ec62ec9f2363fa1062f7066a2af486ea0ce24dd 100644 (file)
@@ -56,8 +56,8 @@ src_install() {
        default
 
        dodir /usr/libexec/${PN}
-       insinto /usr/libexec/${PN}
-       doins "${FILESDIR}"/libexec/${PN}.sh
+       exeinto /usr/libexec/${PN}
+       doexe "${FILESDIR}"/libexec/${PN}.sh
 
        newconfd "${FILESDIR}"/${PN}.confd ${PN}
        newinitd "${FILESDIR}"/${PN}.init-r2 ${PN}