Skip to content

Commit 1df1d52

Browse files
committed
Fix #151
1 parent ca0d76f commit 1df1d52

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

en-US/upgrade/upgrade_from_binary.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ Download and unzip new binary:
3030

3131
```bash
3232
# 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
3535
$ ls
36-
gogs gogs_old gogs-repositories gogs_v$VERSION_$OS_$ARCH.tar.gz
36+
gogs gogs_old gogs-repositories $OS_$ARCH.tar.gz
3737
```
3838

3939
Copy `custom`, `data` and `log` directories to unzipped directory:

zh-CN/upgrade/upgrade_from_binary.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ $ mv gogs gogs_old
2828

2929
```bash
3030
# 请根据系统和类型获取相应的二进制版本
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
3333
$ ls
34-
gogs gogs_old gogs-repositories gogs_v$VERSION_$OS_$ARCH.tar.gz
34+
gogs gogs_old gogs-repositories $OS_$ARCH.tar.gz
3535
```
3636

3737
复制 `custom``data``log` 目录到新解压的目录中:

0 commit comments

Comments
 (0)