summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-31 14:49:45 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-31 14:49:45 +0200
commitbbb72ad99220c81e6d7335d164178bebecd65fff (patch)
tree8491e322dbbe2fa3dcc98326ecafd6d787ab3841 /bin
parentf44f970048cd7c0ec4e1945614ef7c6fe0ecca79 (diff)
bin/bootstrap: Fail without python
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bootstrap5
1 files changed, 5 insertions, 0 deletions
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