From fe0b306dfd3ff4f23b5bf6a5920087d1ea3249d4 Mon Sep 17 00:00:00 2001 From: EUcancER Date: Sat, 10 Mar 2012 22:30:45 +0100 Subject: installation in correct order --- infest/bootstrap.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'infest') 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" -- cgit v1.2.3