typecho安装需要zip,添加检测
This commit is contained in:
parent
b4ce26066a
commit
544ae1a48c
@ -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
|
||||
|
@ -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
|
||||
|
@ -88,7 +88,6 @@
|
||||
|
||||
#### 任务管理工具
|
||||
|
||||
* **menu** : 自动任务管理菜单
|
||||
* **manage** : 已安装任务管理(查看/删除)
|
||||
|
||||
### 🌐 网站服务管理 (Web)
|
||||
@ -97,13 +96,11 @@
|
||||
|
||||
* **apply** : 申请 SSL 证书
|
||||
* **manage** : 证书管理(查看信息)
|
||||
* **test** : ACME 环境检测
|
||||
|
||||
#### Nginx 管理 (nginx)
|
||||
|
||||
* **install** : 配置 Nginx 站点
|
||||
* **manage** : 站点管理(查看/删除)
|
||||
* **test** : Nginx 环境检测
|
||||
|
||||
### 脚本管理 (manage)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user