Browse Source

No return

Bob Mottram 8 years ago
parent
commit
b8205d8871
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/freedombone-app-gogs

+ 1
- 2
src/freedombone-app-gogs View File

@@ -37,13 +37,13 @@ GIT_DOMAIN_NAME=
37 37
 GIT_CODE=
38 38
 GIT_ONION_PORT=8090
39 39
 GIT_ADMIN_PASSWORD=
40
+GOGS_BIN=
40 41
 
41 42
 function change_password_gogs {
42 43
     echo -n ''
43 44
 }
44 45
 
45 46
 function gogs_parameters {
46
-    CURR_ARCH=
47 47
     if [[ $ARCHITECTURE == *"386" || $ARCHITECTURE == *"686" ]]; then
48 48
         CURR_ARCH=386
49 49
     fi
@@ -65,7 +65,6 @@ function gogs_parameters {
65 65
         if [[ $ARCHITECTURE == *"386" || $ARCHITECTURE == *"686" ]]; then
66 66
             CURR_ARCH=386
67 67
         fi
68
-        return
69 68
     fi
70 69
 
71 70
     GOGS_BIN="https://github.com/gogits/gogs/releases/download/v${GOGS_VERSION}/linux_${CURR_ARCH}.tar.gz"