mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
system/ranger: Add optimisation to build command.
This is to stop ranger creating pyc files in /usr/lib the first time it is run, which causes removepkg to complain. This way they will be created in the package.
This commit is contained in:
parent
f2dc844c3c
commit
8ee6e8fde8
2 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
PRGNAM=ranger
|
||||
VERSION=${VERSION:-1.9.2}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -70,7 +70,7 @@ find -L . \
|
|||
|
||||
[ "$PYTHON3" = "yes" ] && PY=3
|
||||
|
||||
python$PY setup.py install --root=$PKG
|
||||
python$PY setup.py install -O1 --root=$PKG
|
||||
|
||||
mv $PKG/usr/share/man $PKG/usr
|
||||
|
||||
|
|
|
@ -6,5 +6,5 @@ MD5SUM="4ce283e451a40a61590cf9aa504e926c"
|
|||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="David Woodfall"
|
||||
EMAIL="dave@dawoodfall.net"
|
||||
MAINTAINER="Dave Woodfall"
|
||||
EMAIL="dave@tty1.uk"
|
||||
|
|
Loading…
Reference in a new issue