diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2021-04-20 23:34:06 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-20 23:34:06 -0500 |
commit | d3ebc8253ee4bfbd9deddd7bbb90b18522bea5a4 (patch) | |
tree | 7d18e161034e3ec1d6b8de6738cb4aaac816feb8 /system/ranger/ranger.SlackBuild | |
parent | 3f67eaf7b637afab5202c98a59b7ea96f3e14903 (diff) |
system/ranger: use python3 by default now
Diffstat (limited to 'system/ranger/ranger.SlackBuild')
-rw-r--r-- | system/ranger/ranger.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/system/ranger/ranger.SlackBuild b/system/ranger/ranger.SlackBuild index a016f269c682e..8cc3118173eb7 100644 --- a/system/ranger/ranger.SlackBuild +++ b/system/ranger/ranger.SlackBuild @@ -70,20 +70,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -[ "$PYTHON3" = "yes" ] && PY=3 -PYVER=$(python$PY -V 2>&1 | sed -nr "s,.* ([0-9]\.[0-9]).*,\1,p") - # Fix some incorrect paths in man page sed -i " s,doc/configs,/usr/doc/$PRGNAM-$VERSION/config, - s,usr/share/doc/ranger/config,usr/lib64/python$PYVER/site-packages/ranger/config, + s,usr/share/doc/ranger/config,usr/lib64/python3/site-packages/ranger/config, s,\\\\fIexamples,\\\\fI/usr/doc-$PRGNAM-$VERSION/examples, s,They are usually installed to,, 0,/\\\\&\\\\fI\/usr\/share\/doc\/ranger\/examples\\\\fR./s,,, s,/usr/share/doc/ranger/examples/,/usr/doc-$PRGNAM-$VERSION/examples, " doc/ranger.1 -python$PY setup.py install -O1 --root=$PKG +python3 setup.py install -O1 --root=$PKG mv $PKG/usr/share/man $PKG/usr |