fix: 修复禁用统计看板时挂载失效的问题

This commit is contained in:
zhangxinhui02
2025-08-20 03:15:59 +08:00
parent 9f34a25076
commit 58930f63d2

View File

@@ -24,7 +24,12 @@ if [ -f /MaiMBot/statistics/index.html ]
then
echo "[VolumeLinker] '/MaiMBot/statistics/index.html' exists."
else
touch /MaiMBot/statistics/index.html
if [ -d /MaiMBot/statistics ]
then
touch /MaiMBot/statistics/index.html
else
echo "[VolumeLinker] Statistics volume disabled."
fi
fi
# 删除空的插件目录,准备创建软链接