summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2012-03-10 22:30:45 +0100
committerEUcancER <root@euer.krebsco.de>2012-03-10 22:30:45 +0100
commitfe0b306dfd3ff4f23b5bf6a5920087d1ea3249d4 (patch)
treeb490c4460b6e081dea8fce8912d27087b3bd191e
parent1acf286d996776fd833055ece0eb0887e750567e (diff)
installation in correct order
-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"