mirror of https://github.com/Mai-with-u/MaiBot.git
fix: 修复禁用统计看板时挂载失效的问题
parent
9f34a25076
commit
58930f63d2
|
|
@ -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
|
||||
|
||||
# 删除空的插件目录,准备创建软链接
|
||||
|
|
|
|||
Loading…
Reference in New Issue