check for python3 by default, fallback to python

parent 864fb56d
......@@ -15,7 +15,7 @@ PREFIX="/usr"
DIRINFO_ENABLE="false"
MODE=user
QUIET=false
PYTHON=$(which python)
PYTHON=$(which python3 || which python)
BINDIR="$PREFIX/bin"
PCDIR="$PREFIX/lib/pkgconfig/"
......@@ -32,7 +32,7 @@ export_result ()
echo -e "MODE=\"$MODE\"\
\nPREFIX=\"$PREFIX\"\
\nDATADIR=\"$DATADIR/bashstyle-ng/\"\
\nDATADIR_LIST=( bin ui rc/{,ascii,dirinfo,functions,internal,settings,styles,wizard} terminfo/{,b,m,n} vim/{,colors} )\
\nDATADIR_LIST=( bin ui rc/{,ascii,dirinfo,functions,internal,settings,styles} terminfo/{,b,m,n} vim/{,colors} )\
\nPROFILEDIR=\"$PROFILEDIR/\"\
\nBINDIR=\"$BINDIR\"\
\nLOCALEDIR=\"$DATADIR/locale/\"\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment