Skip to content
Snippets Groups Projects
Commit 43da9ebf authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

port agraef's commit from Pd-l2ork: debuild: sanitize file permissions. commit...

port agraef's commit from Pd-l2ork: debuild: sanitize file permissions. commit 22edd363ff166125578cf1465a297c417c4e3665
parent b1bf1a56
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,11 @@ override_dh_auto_install: ...@@ -27,6 +27,11 @@ override_dh_auto_install:
cd debian/pd-l2ork/usr && mv include/Gem include/pd-l2ork cd debian/pd-l2ork/usr && mv include/Gem include/pd-l2ork
# Edit the Gem pkgconfig file accordingly and rename it. # Edit the Gem pkgconfig file accordingly and rename it.
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 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 -type d | xargs chmod a+x
# NOTE: Older systems use dh_pysupport instead of dh_python2. See # NOTE: Older systems use dh_pysupport instead of dh_python2. See
# http://deb.li/dhs2p. # http://deb.li/dhs2p.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment