dont erase .env values

This commit is contained in:
Penelope Gwen 2025-03-11 11:09:52 -07:00
parent cdde5b8015
commit 48d4b0f52d

View file

@ -3,4 +3,4 @@
find "${HOME}/Dockers/" -iname '*.env' -not -iname '.*' -exec cp "{}" "{}_template" \;
cp "${HOME}/Dockers/.env" "${HOME}/Dockers/.env_template"
find "${HOME}/Dockers/" -iname '*.env_template' -exec sed -i 's/=.*/=/' {} \;
sed -i 's/=.*/=/' "${HOME}/Dockers/.env"
sed -i 's/=.*/=/' "${HOME}/Dockers/.env_template"