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

This commit is contained in:
zhangxinhui02 committed 2025-08-21 11:05:06 +08:00
1 parent 9f34a25076
commit 58930f63d2
1 file changed
+6 -1
+6 -1
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
# 删除空的插件目录,准备创建软链接