From 9e40f56bf45acc2234d8168feecbc00b3e5b96c7 Mon Sep 17 00:00:00 2001 From: Sojourner Truth <jon.w.wilkes@gmail.com> Date: Sun, 19 Jun 2016 23:23:29 -0400 Subject: [PATCH] port agraef's commit from Pd-l2ork: debuild: more permission fixes. commit 7a1dd816b0fcbb42f733e7e715d3323d15608d33 --- debuild/debian/rules | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debuild/debian/rules b/debuild/debian/rules index c00d2c2b6..9f0432ef2 100755 --- a/debuild/debian/rules +++ b/debuild/debian/rules @@ -29,8 +29,10 @@ override_dh_auto_install: cd debian/pd-l2ork/usr/lib/pkgconfig && sed -e 's?/include?/include/pd-l2ork?g' -e 's?/lib/pd/extra?/lib/pd-l2ork/extra?g' < Gem.pc > pd-l2ork-Gem.pc && rm -f Gem.pc # Sanitize permissions. cd debian/pd-l2ork && chmod -R go-w * && chmod -R a+r * && chmod a-x usr/lib/pd-l2ork/default.settings - find debian/pd-l2ork -name '*.pd_linux' | xargs chmod a-x - find debian/pd-l2ork -name '*.pd' | xargs chmod a-x + find debian/pd-l2ork -executable -name '*.pd_linux' | xargs chmod a-x + find debian/pd-l2ork -executable -name '*.pd' | xargs chmod a-x + find debian/pd-l2ork -executable -name '*.txt' | xargs chmod a-x + find debian/pd-l2ork -executable -name '*.aif*' | xargs chmod a-x find debian/pd-l2ork -type d | xargs chmod a+x # NOTE: Older systems use dh_pysupport instead of dh_python2. See -- GitLab