aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2018-08-09 21:55:11 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-11 07:23:09 +0700
commit30d7210610d1b0f402d260d1642617a74b7f9712 (patch)
tree07c0134df4928136e83d15a7aabb1dfb5ed3f2ff /system
parentad3a81a2e1cce6ca9611d7ef2a16e301c27f0a14 (diff)
system/ranger: Changed option.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system')
-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