aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/ranger/README2
-rw-r--r--system/ranger/ranger.SlackBuild4
2 files changed, 3 insertions, 3 deletions
diff --git a/system/ranger/README b/system/ranger/README
index 328f28a714af1..49af067d8d469 100644
--- a/system/ranger/README
+++ b/system/ranger/README
@@ -17,4 +17,4 @@ Options:
To build for python3, use:
-PYTHON3=1 ./ranger.SlackBuild
+PYTHON3=yes ./ranger.SlackBuild
diff --git a/system/ranger/ranger.SlackBuild b/system/ranger/ranger.SlackBuild
index 57db42f795c0b..2dc97ff8916d7 100644
--- a/system/ranger/ranger.SlackBuild
+++ b/system/ranger/ranger.SlackBuild
@@ -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