File tree 2 files changed +6
-6
lines changed 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ Download and unzip new binary:
30
30
31
31
``` bash
32
32
# Check latest release to download based on your actual OS and ARCH running
33
- $ wget https://dl.gogs.io/gogs_v $VERSION_ $OS_$ARCH .tar.gz
34
- $ tar -zxvf gogs_v $VERSION_ $OS_$ARCH .tar.gz
33
+ $ wget wget https://dl.gogs.io/$VERSION / $OS_$ARCH .tar.gz
34
+ $ tar -zxvf $OS_$ARCH .tar.gz
35
35
$ ls
36
- gogs gogs_old gogs-repositories gogs_v $VERSION_ $OS_$ARCH .tar.gz
36
+ gogs gogs_old gogs-repositories $OS_$ARCH .tar.gz
37
37
```
38
38
39
39
Copy ` custom ` , ` data ` and ` log ` directories to unzipped directory:
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ $ mv gogs gogs_old
28
28
29
29
``` bash
30
30
# 请根据系统和类型获取相应的二进制版本
31
- $ wget https://dl.gogs.io/gogs_v $VERSION_ $OS_$ARCH .tar.gz
32
- $ tar -zxvf gogs_v $VERSION_ $OS_$ARCH .tar.gz
31
+ $ wget wget https://dl.gogs.io/$VERSION / $OS_$ARCH .tar.gz
32
+ $ tar -zxvf $OS_$ARCH .tar.gz
33
33
$ ls
34
- gogs gogs_old gogs-repositories gogs_v $VERSION_ $OS_$ARCH .tar.gz
34
+ gogs gogs_old gogs-repositories $OS_$ARCH .tar.gz
35
35
```
36
36
37
37
复制 ` custom ` 、` data ` 和 ` log ` 目录到新解压的目录中:
You can’t perform that action at this time.
0 commit comments