3
0
Fork 0
forked from mirrors/nixpkgs

nginx: restore .upstream files

07d9de713a
This commit is contained in:
Tobias Geerinckx-Rice 2016-05-06 15:35:38 +02:00
parent 2f35e223b1
commit ab6e0861d4
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,8 @@
url http://nginx.org/en/download.html
version_link '.*-([0-9]+[.][0-9]*[02468]([.][0-9]+)*)[.]tar[.][a-z0-9]*$'
do_overwrite() {
ensure_hash
set_var_value version "$CURRENT_VERSION"
set_var_value sha256 "$CURRENT_HASH"
}

View file

@ -0,0 +1,8 @@
url http://nginx.org/en/download.html
version_link '.*-([0-9]+[.][0-9]+([.][0-9]+)*)[.]tar[.][a-z0-9]*$'
do_overwrite() {
ensure_hash
set_var_value version "$CURRENT_VERSION"
set_var_value sha256 "$CURRENT_HASH"
}