Skip to content

Commit

Permalink
Fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
keimoon committed Dec 26, 2016
1 parent 7bfb42a commit f711ba0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
#!/usr/bin/env bash

here=`cd $(dirname $BASH_SOURCE); pwd`
. $here/lib/functions/update.sh
function update {
which git > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "git not found"
exit 1
fi
rm -rf anduin-kube && \
git clone https://github.com/anduintransaction/anduin-kube && \
./anduin-kube/bin/install.sh
exitCode=$?
rm -rf anduin-kube
exit $exitCode
}

update

0 comments on commit f711ba0

Please sign in to comment.