No return
This commit is contained in:
parent
68de1b3964
commit
b8205d8871
|
@ -37,13 +37,13 @@ GIT_DOMAIN_NAME=
|
||||||
GIT_CODE=
|
GIT_CODE=
|
||||||
GIT_ONION_PORT=8090
|
GIT_ONION_PORT=8090
|
||||||
GIT_ADMIN_PASSWORD=
|
GIT_ADMIN_PASSWORD=
|
||||||
|
GOGS_BIN=
|
||||||
|
|
||||||
function change_password_gogs {
|
function change_password_gogs {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function gogs_parameters {
|
function gogs_parameters {
|
||||||
CURR_ARCH=
|
|
||||||
if [[ $ARCHITECTURE == *"386" || $ARCHITECTURE == *"686" ]]; then
|
if [[ $ARCHITECTURE == *"386" || $ARCHITECTURE == *"686" ]]; then
|
||||||
CURR_ARCH=386
|
CURR_ARCH=386
|
||||||
fi
|
fi
|
||||||
|
@ -65,7 +65,6 @@ function gogs_parameters {
|
||||||
if [[ $ARCHITECTURE == *"386" || $ARCHITECTURE == *"686" ]]; then
|
if [[ $ARCHITECTURE == *"386" || $ARCHITECTURE == *"686" ]]; then
|
||||||
CURR_ARCH=386
|
CURR_ARCH=386
|
||||||
fi
|
fi
|
||||||
return
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
GOGS_BIN="https://github.com/gogits/gogs/releases/download/v${GOGS_VERSION}/linux_${CURR_ARCH}.tar.gz"
|
GOGS_BIN="https://github.com/gogits/gogs/releases/download/v${GOGS_VERSION}/linux_${CURR_ARCH}.tar.gz"
|
||||||
|
|
Loading…
Reference in New Issue