aboutsummaryrefslogtreecommitdiff
path: root/dependency-test.sh
diff options
context:
space:
mode:
authorPablo Lezaeta <prflr88@gmail.com>2012-10-25 00:57:06 -0300
committerPablo Lezaeta <prflr88@gmail.com>2012-10-25 00:57:06 -0300
commited4e30e3f5cd4927f01c3fa2e1c89d7c42a499d2 (patch)
tree93e6ac37d8decf66468fa592f72ec979f28700b9 /dependency-test.sh
parent70298d4dfb19a3dafca521898f2800e44eafe9ed (diff)
parent6990bc1e440217f6f948b2022c751de74f27d5ed (diff)
downloadponysay-ed4e30e3f5cd4927f01c3fa2e1c89d7c42a499d2.tar.gz
ponysay-ed4e30e3f5cd4927f01c3fa2e1c89d7c42a499d2.tar.bz2
ponysay-ed4e30e3f5cd4927f01c3fa2e1c89d7c42a499d2.zip
Merge branch 'master' of http://github.com/erkin/ponysay
Diffstat (limited to 'dependency-test.sh')
-rwxr-xr-xdependency-test.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/dependency-test.sh b/dependency-test.sh
index 3c5301b..ec97d29 100755
--- a/dependency-test.sh
+++ b/dependency-test.sh
@@ -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]')