dont erase .env values
This commit is contained in:
parent
cdde5b8015
commit
48d4b0f52d
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue