From bbb72ad99220c81e6d7335d164178bebecd65fff Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 31 May 2008 14:49:45 +0200 Subject: bin/bootstrap: Fail without python --- bin/bootstrap | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/bootstrap') diff --git a/bin/bootstrap b/bin/bootstrap index 7609ed8..60f0031 100755 --- a/bin/bootstrap +++ b/bin/bootstrap @@ -10,6 +10,11 @@ mkdir -p ~/lib mkdir -p ~/packages mkdir -p ~/var/tmp/incoming +if ( ! which python &> /dev/null ) { + echo "No Python found. This hsot sucks." + exit 200 +} + if ( ! which hg &> /dev/null) { echo 'Mercurial not found, fetching...' cd ~/packages -- cgit v1.2.3