summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2012-03-10 22:47:33 +0100
committermakefu <github@syntax-fehler.de>2012-03-10 22:47:33 +0100
commit86cb16cc0287d46dd5d97d9da88f9647fb016406 (patch)
tree7600a8c65fe6f6adf2f47149d031e0b5ee63edab
parentd802ca802b6916e44297885bc3bb1fc06c84ed3c (diff)
parentfe0b306dfd3ff4f23b5bf6a5920087d1ea3249d4 (diff)
Merge branch 'master' of github.com:krebscode/painload
-rw-r--r--infest/bootstrap.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/infest/bootstrap.sh b/infest/bootstrap.sh
index 3a560ffa..723e78f0 100644
--- a/infest/bootstrap.sh
+++ b/infest/bootstrap.sh
@@ -4,6 +4,8 @@ set -euf
KREBSDIR=${KREBSDIR:-/krebs}
[ "`id -u`" -eq "0" ] || { echo "you need to be root!"; exit 1;} || exit 1
+
+# brute force install git, krebs style
command -v git || \
apt-get install -y git-core || \
yum install git || \
@@ -17,11 +19,13 @@ command -v git || \
cd $KREBSDIR || { echo "cannot change into $KREBSDIR folder:(" ; exit 1; } || exit 1
-echo "do 'make infest' in $KREBSDIR"
-echo "have a nice day"
PATH=$PATH:$KREBSDIR/punani/bin
-# bootstrap the rest
+# install the rest
punani install make
+
+
+echo "do 'make infest' in $KREBSDIR"
+echo "have a nice day"