Tweak README.
This commit is contained in:
parent
5272aaa47d
commit
6adf824139
10
README.md
10
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 <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
|
||||
````
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue