Update wp.sh

This commit is contained in:
NewName
2024-08-17 11:54:02 +08:00
parent cadb1541ab
commit da2d4826af

2
wp.sh
View File

@@ -3,7 +3,7 @@
# 检查是否已经安装 WordPress
if [ -f "/var/www/html/wordpress/wp-config.php" ]; then
echo -e "\033[32mWordPress 已经安装。\033[0m"
echo -e "\033[32m检测到WordPress已经安装。\033[0m"
echo -e "\033[33m如需重新安装请先删除 /var/www/html/wordpress 并备份相关数据。\033[0m"
exit 0
fi