aboutsummaryrefslogtreecommitdiff
path: root/python/npm/npm.SlackBuild
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-21 21:32:17 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-02 01:02:25 +0700
commitaaf1c4b7b81f48c7769657206af05c2014c3a25b (patch)
tree7eb12cd01b9ae1b6256693cd38afff6067968f9d /python/npm/npm.SlackBuild
parentd0183e7b6f2d2d09ea174bcee1bb24424b67f214 (diff)
python/npm: 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/npm/npm.SlackBuild')
-rw-r--r--python/npm/npm.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/npm/npm.SlackBuild b/python/npm/npm.SlackBuild
index 02e0278189479..113f2e4de2edb 100644
--- a/python/npm/npm.SlackBuild
+++ b/python/npm/npm.SlackBuild
@@ -70,10 +70,7 @@ if $(python2 -c 'import sys' 2>/dev/null); then
python setup.py install --root=$PKG
fi
-# Replacement of python-2.x Python3.x check presence and build if found.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION