chore: Copy .env file to .env-{DATE} if it exists
This commit is contained in:
parent
f70160a17c
commit
3e188bf947
1 changed files with 0 additions and 1 deletions
|
|
@ -340,7 +340,6 @@ curl -fsSL $CDN/upgrade.sh -o /data/coolify/source/upgrade.sh
|
|||
# Copy .env.example if .env does not exist
|
||||
if [ -f $ENV_FILE ]; then
|
||||
echo "File exists: $ENV_FILE"
|
||||
cat $ENV_FILE
|
||||
echo "Copying .env to .env-$DATE"
|
||||
cp $ENV_FILE $ENV_FILE-$DATE
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue