浏览代码

More consistent gogs file construction

Bob Mottram 8 年前
父节点
当前提交
5480616315
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/freedombone-app-gogs

+ 2
- 1
src/freedombone-app-gogs 查看文件

@@ -111,7 +111,8 @@ function gogs_parameters {
111 111
         fi
112 112
     fi
113 113
 
114
-    GOGS_BIN="https://github.com/gogits/gogs/releases/download/v${GOGS_VERSION}/linux_${CURR_ARCH}.tar.gz"
114
+    GOGS_FILE=linux_${CURR_ARCH}.tar.gz
115
+    GOGS_BIN="https://github.com/gogits/gogs/releases/download/v${GOGS_VERSION}/${GOGS_FILE}"
115 116
 }
116 117
 
117 118
 function gogs_create_database {