diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-07-01 10:51:17 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-07-01 10:51:17 +0100 |
commit | 57fb210c8b46c416e9e17017be595e7cdfa4942b (patch) | |
tree | d62219619e4b83cbe5eef2311d45453d5c5a9063 /python/python-evdev | |
parent | 12d04f0a6618742c90ebdfe692cf352a7b4570b9 (diff) |
python/python-evdev: Fix permissions.
Upstream shipped the 1.0.0 release with 660 permissions. This
led to files in the built package being readable only by root
(notably in the egg-info directory, but also the licence),
which broke system/ds4drv, and possibly libinput.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/python-evdev')
-rw-r--r-- | python/python-evdev/python-evdev.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python-evdev/python-evdev.SlackBuild b/python/python-evdev/python-evdev.SlackBuild index 39f017674951..a4081dfcbebf 100644 --- a/python/python-evdev/python-evdev.SlackBuild +++ b/python/python-evdev/python-evdev.SlackBuild @@ -70,6 +70,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# ... but upstream shipped evdev-1.0.0 with 660 permissions everywhere, so: +find -L . -perm 660 -exec chmod 644 {} \; + python setup.py install --root=$PKG if hash python3 ; then |