Order of the do

This commit is contained in:
Bob Mottram 2015-01-11 15:08:51 +00:00
parent f4b6e8572b
commit 3bf3329eff
1 changed files with 4 additions and 4 deletions

View File

@ -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