Browse Source

docs: fix build/curl instructions in more languages

Kévin Dunglas 6 months ago
parent
commit
4a8555571c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docs/cn/compile.md
  2. 1 1
      docs/tr/compile.md

+ 1 - 1
docs/cn/compile.md

@@ -66,7 +66,7 @@ sudo make install
 您现在可以使用 Go 库并编译我们的 Caddy 构建:
 
 ```console
-curl -L https://github.com/dunglas/frankenphp/archive/refs/heads/main.tar.gz | tar x
+curl -L https://github.com/dunglas/frankenphp/archive/refs/heads/main.tar.gz | tar xz
 cd frankenphp-main/caddy/frankenphp
 CGO_CFLAGS=$(php-config --includes) CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" go build
 ```

+ 1 - 1
docs/tr/compile.md

@@ -68,7 +68,7 @@ sudo make install
 Artık Go kütüphanesini kullanabilir ve Caddy yapımızı derleyebilirsiniz:
 
 ```console
-curl -L https://github.com/dunglas/frankenphp/archive/refs/heads/main.tar.gz | tar x
+curl -L https://github.com/dunglas/frankenphp/archive/refs/heads/main.tar.gz | tar xz
 cd frankenphp-main/caddy/frankenphp
 CGO_CFLAGS=$(php-config --includes) CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" go build
 ```