mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-24 17:55:10 +08:00
修复 上传文件失败
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
e83d28b56f
commit
9f82da6589
@ -11,6 +11,9 @@ if [ -f .env ]; then
|
||||
# setup-2 remove empty values
|
||||
sed -i '/^.*=""/d' .env
|
||||
|
||||
# setup-3 update directory permissions
|
||||
chmod 777 -R "$OUTLINE_ROOT_PATH"
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
|
@ -8,6 +8,8 @@ if [ -f .env ]; then
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
chmod 777 -R "$OUTLINE_ROOT_PATH"
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user