summaryrefslogtreecommitdiff
path: root/python/dfwinreg
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-15 16:28:31 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:12 +0700
commit0a31d0ea413a50af00bec6310438ab8b25e5ea59 (patch)
tree59d645b8bd5928274553fc6f54935610229ea47f /python/dfwinreg
parent34355cb5a883835440ce5cfb90b2991487001825 (diff)
downloadslackbuilds-0a31d0ea413a50af00bec6310438ab8b25e5ea59.tar.gz
python/dfwinreg: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/dfwinreg')
-rw-r--r--python/dfwinreg/dfwinreg.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/dfwinreg/dfwinreg.SlackBuild b/python/dfwinreg/dfwinreg.SlackBuild
index 4551790763..ff6b735c79 100644
--- a/python/dfwinreg/dfwinreg.SlackBuild
+++ b/python/dfwinreg/dfwinreg.SlackBuild
@@ -70,7 +70,7 @@ 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 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true