system/ranger: Changed option.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Woodfall 2018-08-09 21:55:11 +01:00 committed by Willy Sudiarto Raharjo
parent ad3a81a2e1
commit 30d7210610
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 3 additions and 3 deletions

View file

@ -17,4 +17,4 @@ Options:
To build for python3, use:
PYTHON3=1 ./ranger.SlackBuild
PYTHON3=yes ./ranger.SlackBuild

View file

@ -23,7 +23,7 @@
PRGNAM=ranger
VERSION=${VERSION:-1.9.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -68,7 +68,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
[ -n "$PYTHON3" ] && PY=3
[ "$PYTHON3" = "yes" ] && PY=3
python$PY setup.py install --root=$PKG