mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 21:16:55 +08:00
19 lines
285 B
Bash
19 lines
285 B
Bash
#!/bin/bash
|
|
|
|
if [[ -f .env ]]; then
|
|
source .env
|
|
|
|
keys
|
|
mkdir -p "$SP_TRACKER_ROOT_PATH"
|
|
|
|
mkdir -p "$SP_TRACKER_ROOT_PATH/conf"
|
|
mkdir -p "$SP_TRACKER_ROOT_PATH/conf/keys"
|
|
|
|
chmod $PUID:$PGID -R "$SP_TRACKER_ROOT_PATH"
|
|
|
|
echo "Check Finish."
|
|
|
|
else
|
|
echo ".env not found."
|
|
fi
|