Skip to content

Commit 4c128f6

Browse files
authored
update linux deb install flow
1 parent d477553 commit 4c128f6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cmd/migrate/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ $ scoop install migrate
2727
### Linux (*.deb package)
2828

2929
```bash
30-
$ curl -L https://packagecloud.io/golang-migrate/migrate/gpgkey | apt-key add -
31-
$ echo "deb https://packagecloud.io/golang-migrate/migrate/ubuntu/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/migrate.list
32-
$ apt-get update
33-
$ apt-get install -y migrate
30+
$ curl -s https://packagecloud.io/install/repositories/golang-migrate/migrate/script.deb.sh | sudo bash
31+
$ sudo apt-get install migrate
3432
```
3533

3634
### With Go toolchain

0 commit comments

Comments
 (0)