summaryrefslogtreecommitdiff
path: root/source/l/python-packaging/python-packaging.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/python-packaging/python-packaging.SlackBuild')
-rwxr-xr-xsource/l/python-packaging/python-packaging.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/l/python-packaging/python-packaging.SlackBuild b/source/l/python-packaging/python-packaging.SlackBuild
index 3c731d44..412640f4 100755
--- a/source/l/python-packaging/python-packaging.SlackBuild
+++ b/source/l/python-packaging/python-packaging.SlackBuild
@@ -57,9 +57,9 @@ cd $SRCNAM-$VERSION || exit 1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
python setup.py install --root=$PKG || exit 1
python3 setup.py install --root=$PKG || exit 1
@@ -67,7 +67,7 @@ python3 setup.py install --root=$PKG || exit 1
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a *.rst LICENSE* PKG-INFO \
$PKG/usr/doc/$PKGNAM-$VERSION
-find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 0644 {} \;
+find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 0644 {} \+
# If there's a CHANGELOG.rst, installing at least part of the recent history
# is useful, but don't let it get totally out of control: