This commit is contained in:
Héctor Molinero Fernández 2019-08-15 21:50:32 +02:00
commit aaf76d8a14
4 changed files with 6 additions and 6 deletions

View file

@ -47,8 +47,8 @@ https://hblock.molinero.dev
## Installation
```sh
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.11/hblock' \
&& echo '3c77c654aa5a6573a9313a7f320137d662bf6eab945dd36c1071ba968b46c818 /tmp/hblock' | shasum -c \
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.12/hblock' \
&& echo '9bd1e72d6dd77800c3ebe3d4f28a8bcdeb6f0e0c80b1aea459aa00b6cf81303d /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.11
# Version: 2.0.12
# Author: Héctor Molinero Fernández <hector@molinero.dev>
# Repository: https://github.com/hectorm/hblock
# License: MIT, https://opensource.org/licenses/MIT
@ -217,7 +217,7 @@ showHelp() {
# Show version number and quit
showVersion() {
printStdout '%s\n' '2.0.11'
printStdout '%s\n' '2.0.12'
exit 0
}

View file

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

View file

@ -3,7 +3,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.11/resources/systemd/hblock.{service,timer}' \
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.12/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/ \