Remove logging
This commit is contained in:
parent
aa26715216
commit
60289687f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue