From: Mike Gilbert Date: Wed, 30 Sep 2015 16:24:58 +0000 (-0400) Subject: net-misc/pycnb: Simplify permissions fix X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c4dde78aec07ee85fdc400e9d5db7d161da89899;p=gentoo.git net-misc/pycnb: Simplify permissions fix Package-Manager: portage-2.2.22_p3 --- diff --git a/net-misc/pycnb/pycnb-0.0.4-r1.ebuild b/net-misc/pycnb/pycnb-0.0.4-r1.ebuild index c6468e436465..54cfa23cabea 100644 --- a/net-misc/pycnb/pycnb-0.0.4-r1.ebuild +++ b/net-misc/pycnb/pycnb-0.0.4-r1.ebuild @@ -23,6 +23,5 @@ RDEPEND="${DEPEND}" src_unpack() { default - find ${P} -type d -exec chmod 0755 {} + || die - find ${P} -type f -exec chmod 0644 {} + || die + chmod -R a+rX,u+w,g-w,o-w ${P} || die }