This commit is contained in:
Héctor Molinero Fernández 2019-03-16 19:35:53 +01:00
commit 9ce2c41dff
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.5/hblock' \
&& echo 'a86e8a5c1b92a3534db7d23669a4997deee7e1c44724b4422f772b66d0e11c1c /tmp/hblock' | shasum -c \
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.6/hblock' \
&& echo '84b312281e985999733cec4e5c7c92bb3ba0ad25e6464ef87937f197e2a0ec2a /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.5
# Version: 2.0.6
# 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.5'
printStdout '%s\n' '2.0.6'
exit 0
}

View file

@ -1,6 +1,6 @@
{
"name": "hblock",
"version": "2.0.5",
"version": "2.0.6",
"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.5/resources/systemd/hblock.{service,timer}' \
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.6/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/ \