summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 23:05:32 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:41 +0700
commitfac20314d3199a6b633391c8560b7c278b4149d9 (patch)
tree9d4c103f2249da6bd7ef43b5f6aec7028263e795
parentb3e6ff634f097beee0e2d728e8164b5c267ffe41 (diff)
downloadslackbuilds-fac20314d3199a6b633391c8560b7c278b4149d9.tar.gz
python/nxt-python: Fix file permissions.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/nxt-python/nxt-python.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/nxt-python/nxt-python.SlackBuild b/python/nxt-python/nxt-python.SlackBuild
index 6b8db89b5b..3749dc5ae7 100644
--- a/python/nxt-python/nxt-python.SlackBuild
+++ b/python/nxt-python/nxt-python.SlackBuild
@@ -69,7 +69,8 @@ find -L . \
python setup.py install --root=$PKG
mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
-cp -ar examples $CWD/70-lego.rules $PKG/usr/share/$PRGNAM-$VERSION
+cp -ar examples $PKG/usr/share/$PRGNAM-$VERSION
+cat $CWD/70-lego.rules > $PKG/usr/share/$PRGNAM-$VERSION/70-lego.rules
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION