diff --git a/README.md b/README.md index 6dcbb43..e711a97 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,15 @@ accounting-analytics ```` ### Action File -The following fragment downloads a file named LICENSE.md and adds it to the repository: +The following fragment downloads a file named LICENSE.md and adds it to the repository (if it does not exists): ````bash #!/usr/bin/env bash -curl /LICENSE.md -o LICENSE.md -git add LICENSE.md -git commit -m "LICENSE.md" +if [[ ! -f LICENSE.md ]]; then + curl /LICENSE.md -o LICENSE.md + git add LICENSE.md + git commit -m "LICENSE.md" +fi ````