Remove debug

This commit is contained in:
Bob Mottram 2018-05-12 19:16:10 +01:00
parent 1416af54a5
commit cb21669a63
1 changed files with 0 additions and 10 deletions

View File

@ -480,12 +480,10 @@ function upgrade_inadyn_config {
}
function install_dynamicdns {
echo "************ 1"
if [[ $SYSTEM_TYPE == "mesh"* ]]; then
return
fi
echo "************ 2"
if [[ $ONION_ONLY != "no" ]]; then
return
fi
@ -503,17 +501,13 @@ function install_dynamicdns {
fi
else
CURR_INADYN_COMMIT=$(get_completion_param "inadyn commit")
echo "************ 3 $CURR_INADYN_COMMIT $INADYN_COMMIT"
if [[ "${CURR_INADYN_COMMIT}" == "${INADYN_COMMIT}" ]]; then
return
fi
fi
echo "************ 4"
if [ -f /usr/local/sbin/inadyn ]; then
echo "********* checking $INSTALL_DIR/inadyn"
if [ -d "$INSTALL_DIR/inadyn" ]; then
echo "Removing $INSTALL_DIR/inadyn"
rm -rf "$INSTALL_DIR/inadyn"
fi
if [ -d /repos/inadyn ]; then
@ -534,7 +528,6 @@ function install_dynamicdns {
apt-get -yq install build-essential curl libgnutls28-dev automake1.11
apt-get -yq install gnutls-dev libconfuse-dev
echo "************ 5"
if [ ! -d "$INSTALL_DIR/inadyn" ]; then
if [ -d /repos/inadyn ]; then
mkdir "$INSTALL_DIR/inadyn"
@ -545,20 +538,17 @@ function install_dynamicdns {
git_clone "$INADYN_REPO" "$INSTALL_DIR/inadyn"
fi
fi
echo "************ 6"
if [ ! -d "$INSTALL_DIR/inadyn" ]; then
echo 'inadyn repo not cloned'
echo -n | openssl s_client -showcerts -connect github.com:443 -CApath /etc/ssl/certs
exit 6785
fi
echo "************ 7"
cd "$INSTALL_DIR/inadyn" || exit 246824684
git checkout "$INADYN_COMMIT" -b "$INADYN_COMMIT"
set_completion_param "inadyn commit" "$INADYN_COMMIT"
./autogen.sh
echo "************ 8"
if ! ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-openssl; then
exit 74890
fi