Skip to content

Commit 1806317

Browse files
committed
update download instructions once and for all, to be always updated
1 parent 8934dbe commit 1806317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ Or via json file:
5555
}
5656
````
5757

58-
Using [Curl](http://curl.haxx.se):
58+
Using [Curl](http://curl.haxx.se) to always download and decompress the latest release:
5959

6060
```
61-
$ curl --silent --location https://github.com/ifsnop/mysqldump-php/archive/v2.2.tar.gz | tar xvfz -
61+
$ curl --silent --location https://api.github.com/repos/ifsnop/mysqldump-php/releases | grep -i tarball_url | head -n 1 | cut -d '"' -f 4 | xargs curl --location --silent | tar xvz
6262
```
6363

6464
## Getting started

0 commit comments

Comments
 (0)