From 3bf3329eff477aa3b8a5f82d1ece79ddbeaec833 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 11 Jan 2015 15:08:51 +0000 Subject: [PATCH] Order of the do --- install-freedombone.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index 3fc5503f..11e6b9b8 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -628,6 +628,10 @@ function install_cjdns { if [ ! -d /etc/cjdns ]; then git clone https://github.com/cjdelisle/cjdns.git /etc/cjdns cd /etc/cjdns + ./do + if [ ! "$?" = "0" ]; then + exit 7439 + fi # create a configuration if [ ! -f /etc/cjdns/cjdroute.conf ]; then ./cjdroute --genconf > /etc/cjdns/cjdroute.conf @@ -635,10 +639,6 @@ function install_cjdns { exit 5922 fi fi - ./do - if [ ! "$?" = "0" ]; then - exit 7439 - fi # create a user to run as useradd cjdns else