Files
blundercrunch/bash-scripts/copy_env.sh
Aditya Gupta aabb8986aa Initial commit
2026-06-29 19:29:19 +05:30

9 lines
226 B
Bash

#!/bin/bash
# Check if .env does not exist and .example.env exists
if [ ! -f ".env" ] && [ -f ".example.env" ]; then
# Copy .example.env to .env
cp .example.env .env
echo ".example.env has been copied to .env"
fi