mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 04:27:58 +01:00
python3 is also required for building, not just running
This commit is contained in:
parent
351c7debb7
commit
96abf11f46
1 changed files with 4 additions and 3 deletions
|
@ -23,13 +23,14 @@ ro=0
|
|||
(hash makeinfo 2>/dev/null) || (bo=1 ; echo 'Missing makeinfo, install texinfo [build optional]')
|
||||
(hash install-info 2>/dev/null) || (bo=1 ; echo 'Missing install-info, install info [build optional]')
|
||||
|
||||
(hash stty 2>/dev/null) || (rr=1 ; echo 'Missing stty, install coreutils [runtime required]')
|
||||
(hash python 2>/dev/null) || (rr=1 ; echo 'Missing python, install python>=3 [runtime required]')
|
||||
(hash python 2>/dev/null) || (rr=1 ; echo 'Missing python, install python>=3 [build+runtime required]')
|
||||
|
||||
(hash cut 2>/dev/null) && (hash python 2>/dev/null) &&
|
||||
(test ! $(env python --version 2>&1 | cut -d ' ' -f 2 | cut -d '.' -f 1) = 3) && (
|
||||
(hash python3 2>/dev/null) ||
|
||||
(rr=1 ; echo 'Missing python>=3, install python (may be named python3) [runtime required]'))
|
||||
(rr=1 ; echo 'Missing python>=3, install python (may be named python3) [build+runtime required]'))
|
||||
|
||||
(hash stty 2>/dev/null) || (rr=1 ; echo 'Missing stty, install coreutils [runtime required]')
|
||||
|
||||
(hash tty2colourfultty 2>/dev/null) || (ro=1 ; echo 'Missing tty2colourfultty, install util-say [runtime optional]')
|
||||
(hash ponysay2ttyponysay 2>/dev/null) || (ro=1 ; echo 'Missing ponysay2ttyponysay, install util-say [runtime optional]')
|
||||
|
|
Loading…
Reference in a new issue