diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-05-21 21:32:05 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-06-02 01:02:21 +0700 |
commit | 633150fbbd18773852d2552c9065eb1d12a69b91 (patch) | |
tree | e0a803c342a19b85a06ba86b99f3ccaf5dee354b /python/Beaker/Beaker.SlackBuild | |
parent | 95a4deb7b47a9a4e62028d66865bf86c98ed23f9 (diff) |
python/Beaker: 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/Beaker/Beaker.SlackBuild')
-rw-r--r-- | python/Beaker/Beaker.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/python/Beaker/Beaker.SlackBuild b/python/Beaker/Beaker.SlackBuild index 1c07ef22dc154..6efce1a551163 100644 --- a/python/Beaker/Beaker.SlackBuild +++ b/python/Beaker/Beaker.SlackBuild @@ -53,10 +53,8 @@ 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 -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README* $PKG/usr/doc/$PRGNAM-$VERSION |