Tweak README.

This commit is contained in:
Manuele Simi 2021-01-24 22:23:15 -05:00
parent 5272aaa47d
commit 6adf824139
1 changed files with 6 additions and 4 deletions

View File

@ -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 <my URL>/LICENSE.md -o LICENSE.md
git add LICENSE.md
git commit -m "LICENSE.md"
if [[ ! -f LICENSE.md ]]; then
curl <my URL>/LICENSE.md -o LICENSE.md
git add LICENSE.md
git commit -m "LICENSE.md"
fi
````