feat: 优化 Focalboard 安装包

This commit is contained in:
wanghe-fit2cloud
2024-05-16 10:36:42 +08:00
parent 4534b41f36
commit 886aea837e
5 changed files with 33 additions and 35 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
chown -R 65534:65534 ./data/data
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
DIR="./data/data"
if [ -d "$DIR" ]; then
echo "目录 $DIR 已存在"
else
echo "目录 $DIR 不存在,正在创建..."
mkdir -p "$DIR"
if [ $? -eq 0 ]; then
echo "目录 $DIR 创建成功"
else
echo "目录 $DIR 创建失败"
fi
fi
chown -R 65534:65534 $DIR