Also remove the inadyn repo from the configuration file

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

View File

@ -485,6 +485,9 @@ function install_dynamicdns {
return
fi
if grep -q "INADYN_REPO" "$CONFIGURATION_FILE"; then
sed -i '/INADYN_REPO/d' "$CONFIGURATION_FILE"
fi
if grep -q "INADYN_COMMIT" "$CONFIGURATION_FILE"; then
sed -i '/INADYN_COMMIT/d' "$CONFIGURATION_FILE"
fi