From 544ae1a48c2fba74c996d0fd1561532f89bb807b Mon Sep 17 00:00:00 2001 From: lsy Date: Wed, 27 Nov 2024 14:00:16 +0800 Subject: [PATCH] =?UTF-8?q?typecho=E5=AE=89=E8=A3=85=E9=9C=80=E8=A6=81zip?= =?UTF-8?q?=EF=BC=8C=E6=B7=BB=E5=8A=A0=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/Docker/Installs/typecho.sh | 7 +++++++ Config/software.sh | 1 + README.md | 3 --- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Config/Docker/Installs/typecho.sh b/Config/Docker/Installs/typecho.sh index a569570..d29a8ae 100644 --- a/Config/Docker/Installs/typecho.sh +++ b/Config/Docker/Installs/typecho.sh @@ -1,6 +1,13 @@ #!/bin/bash declare installation_directory=$1 declare web_service_port=$2 + +if ! command -v zip &> /dev/null; then + echo "zip 未安装" + exit 1 +fi + + cd $installation_directory mkdir data diff --git a/Config/software.sh b/Config/software.sh index ca0cbf6..43e5a8f 100644 --- a/Config/software.sh +++ b/Config/software.sh @@ -33,6 +33,7 @@ package_options['curl']=0 package_options['sudo']=0 package_options['ssh']=0 package_options['zsh']=0 +package_options['zip']=0 package_options['zsh-beautify']=1 package_options['docker']=1 package_options['x-cmd']=1 diff --git a/README.md b/README.md index 496da01..f7fecb1 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,6 @@ #### 任务管理工具 -* **menu** : 自动任务管理菜单 * **manage** : 已安装任务管理(查看/删除) ### 🌐 网站服务管理 (Web) @@ -97,13 +96,11 @@ * **apply** : 申请 SSL 证书 * **manage** : 证书管理(查看信息) -* **test** : ACME 环境检测 #### Nginx 管理 (nginx) * **install** : 配置 Nginx 站点 * **manage** : 站点管理(查看/删除) -* **test** : Nginx 环境检测 ### 脚本管理 (manage)