From ee2702ca6c4dd53725d36045f2ae7627ba064408 Mon Sep 17 00:00:00 2001 From: buyfakett Date: Wed, 31 May 2023 09:11:53 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a9b84b..00b24d9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # centos7_initialization -![GitHub release](https://img.shields.io/github/release/buyfakett/centos7_initialization.svg?logo=github&style=flat-square) ![GitHub release downloads](https://img.shields.io/github/downloads/buyfakett/centos7_initialization/total?logo=github)![codacy](https://img.shields.io/badge/codacy-S-/total?logo=github) +![GitHub release](https://img.shields.io/github/release/buyfakett/centos7_initialization.svg?logo=github&style=flat-square) ![GitHub release downloads](https://img.shields.io/github/downloads/buyfakett/centos7_initialization/total?logo=github) ![codacy](https://img.shields.io/badge/codacy-S-/total?logo=github) 初始化centos7用的脚本 From 91835cfb24974acb39572d1ec07df48492ccaf59 Mon Sep 17 00:00:00 2001 From: buyfakett Date: Wed, 31 May 2023 09:37:03 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 00b24d9..7230234 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ vim 脚本名 ``` 可以使用以下命令直接执行 ```bash -wget https://gitee.com/buyfakett/centos7_initialization/raw/master/initialization.sh && bash initialization.sh +curl -LO "$(curl -sL https://gitee.com/api/v5/repos/buyfakett/centos7_initialization/releases/latest | grep -oE 'https://[^"]+/initialization.sh')" && bash initialization.sh ``` 脚本不是很成熟,有bug请及时在github反馈哦~ 或者发作者邮箱:buyfakett@vip.qq.com