Upgrade inadyn

This commit is contained in:
Bob Mottram 2018-05-12 17:53:21 +01:00
parent ead7f41f3e
commit 295601f375
2 changed files with 5 additions and 1 deletions

View File

@ -95,7 +95,7 @@ if [ -d "$PROJECT_DIR" ]; then
fi
#rebuild_exim_with_socks
update_inadyn_config
install_dynamicdns
torrc_migrate
nodejs_upgrade
apt-get -yq -t stretch-backports install certbot

View File

@ -435,6 +435,10 @@ function upgrade_inadyn_config {
return
fi
if [ ! -f /usr/sbin/inadyn ]; then
return
fi
if grep -q "{" "${INADYN_CONFIG_FILE}"; then
return
fi