mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 18:06:56 +08:00
fix: 修复了 focalboard 安装失败的问题
This commit is contained in:
parent
a2b54289f3
commit
6c58864be6
@ -1,3 +1,17 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
chown -R 65534:65534 ./data/data
|
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
|
Loading…
Reference in New Issue
Block a user