This commit is contained in:
Héctor Molinero Fernández 2019-03-10 17:54:20 +01:00
commit fc9968860c
4 changed files with 6 additions and 6 deletions

View file

@ -45,8 +45,8 @@ I provide nightly builds of the hosts file and other formats, including installe
## Installation
```sh
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.4/hblock' \
&& echo 'ca7e63712c356ef94ffb8e8e02108ae2884586c64615a1c677f4ca1f4a52c37e /tmp/hblock' | shasum -c \
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.5/hblock' \
&& echo 'a86e8a5c1b92a3534db7d23669a4997deee7e1c44724b4422f772b66d0e11c1c /tmp/hblock' | shasum -c \
&& sudo mv /tmp/hblock /usr/local/bin/hblock \
&& sudo chown root:root /usr/local/bin/hblock \
&& sudo chmod 755 /usr/local/bin/hblock

4
hblock
View file

@ -1,6 +1,6 @@
#!/bin/sh
# Version: 2.0.4
# Version: 2.0.5
# Author: Héctor Molinero Fernández <hector@molinero.dev>
# Repository: https://github.com/hectorm/hblock
# License: MIT, https://opensource.org/licenses/MIT
@ -212,7 +212,7 @@ showHelp() {
# Show version number and quit
showVersion() {
printStdout '%s\n' '2.0.4'
printStdout '%s\n' '2.0.5'
exit 0
}

View file

@ -1,6 +1,6 @@
{
"name": "hblock",
"version": "2.0.4",
"version": "2.0.5",
"description": "Improve your security and privacy by blocking ads, tracking and malware domains",
"keywords": [
"ad-block",

View file

@ -2,7 +2,7 @@
The following commands will schedule a daily update of the hosts file. See [this article](https://wiki.archlinux.org/index.php/Systemd/Timers) for more information about Systemd timers.
```sh
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.4/resources/systemd/hblock.{service,timer}' \
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.5/resources/systemd/hblock.{service,timer}' \
&& echo '70964235a03152d4bc68096a0b99cc59e3f77595b99330f8c55dcca79d7164ff /tmp/hblock.service' | shasum -c \
&& echo '79ecc28c13b2489400bd5ddc0ee61ddaf6c3225acb1d54b5cb4026f822ae60e8 /tmp/hblock.timer' | shasum -c \
&& sudo mv /tmp/hblock.{service,timer} /etc/systemd/system/ \