Log only once

This commit is contained in:
Bob Mottram 2016-05-09 20:26:29 +01:00
parent 54f44b85b5
commit 93066abc97
1 changed files with 3 additions and 1 deletions

View File

@ -6701,7 +6701,9 @@ function install_gogs {
add_ddns_domain $GIT_DOMAIN_NAME
echo "Gogs domain:$GIT_DOMAIN_NAME" >> $COMPLETION_FILE
if ! grep -q "Gogs domain:" $COMPLETION_FILE; then
echo "Gogs domain:$GIT_DOMAIN_NAME" >> $COMPLETION_FILE
fi
echo 'install_gogs' >> $COMPLETION_FILE
}