fix: 修复禁用统计看板时挂载失效的问题
This commit is contained in:
@@ -24,7 +24,12 @@ if [ -f /MaiMBot/statistics/index.html ]
|
|||||||
then
|
then
|
||||||
echo "[VolumeLinker] '/MaiMBot/statistics/index.html' exists."
|
echo "[VolumeLinker] '/MaiMBot/statistics/index.html' exists."
|
||||||
else
|
else
|
||||||
touch /MaiMBot/statistics/index.html
|
if [ -d /MaiMBot/statistics ]
|
||||||
|
then
|
||||||
|
touch /MaiMBot/statistics/index.html
|
||||||
|
else
|
||||||
|
echo "[VolumeLinker] Statistics volume disabled."
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 删除空的插件目录,准备创建软链接
|
# 删除空的插件目录,准备创建软链接
|
||||||
|
|||||||
Reference in New Issue
Block a user