Also remove old inadyn repo during upgrade

This commit is contained in:
Bob Mottram 2018-05-12 19:06:13 +01:00
parent 838e7328a2
commit df312b118e
1 changed files with 3 additions and 0 deletions

View File

@ -511,6 +511,9 @@ function install_dynamicdns {
echo "Removing $INSTALL_DIR/inadyn"
rm -rf "$INSTALL_DIR/inadyn"
fi
if [ -d /repos/inadyn ]; then
rm -rf /repos/inadyn
fi
else
# update to the next commit
function_check set_repo_commit