Remove logging

This commit is contained in:
Bob Mottram 2017-04-12 18:18:19 +01:00
parent aa26715216
commit 60289687f4
1 changed files with 2 additions and 4 deletions

View File

@ -135,15 +135,13 @@ function reconfigure_gogs {
}
function upgrade_gogs {
echo "1" > ~/build/testlog.txt
if ! grep -q 'gogs version:' $COMPLETION_FILE; then
return
fi
echo "2" > ~/build/testlog.txt
CURR_GOGS_VERSION=$(get_completion_param "gogs version")
echo "gogs current version: ${CURR_GOGS_VERSION}" >> ~/build/testlog.txt
echo "gogs app version: ${GOGS_VERSION}" >> ~/build/testlog.txt
echo "gogs current version: ${CURR_GOGS_VERSION}"
echo "gogs app version: ${GOGS_VERSION}"
if [[ "${CURR_GOGS_VERSION}" == "${GOGS_VERSION}" ]]; then
return
fi