mirror of
https://github.com/hectorm/hblock.git
synced 2026-04-22 23:16:36 +05:30
2.0.2
This commit is contained in:
parent
47e6533ad0
commit
f0e01cde03
4 changed files with 6 additions and 6 deletions
|
|
@ -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.1/hblock' \
|
||||
&& echo 'd730ef6eb354d9ca66cd3465daba393e2659c75b4ccf998c897806a6e9067525 /tmp/hblock' | shasum -c \
|
||||
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.2/hblock' \
|
||||
&& echo 'e952ffe7c651974236a826f5a3764da81512a40bcb0cfe88c9f4fea7b3ed5cce /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
4
hblock
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Version: 2.0.1
|
||||
# Version: 2.0.2
|
||||
# Author: Héctor Molinero Fernández <hector@molinero.xyz>
|
||||
# Repository: https://github.com/hectorm/hblock
|
||||
# License: MIT, https://opensource.org/licenses/MIT
|
||||
|
|
@ -211,7 +211,7 @@ showHelp() {
|
|||
|
||||
# Show version number and quit
|
||||
showVersion() {
|
||||
printStdout '%s\n' '2.0.1'
|
||||
printStdout '%s\n' '2.0.2'
|
||||
exit 0
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hblock",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"description": "Improve your security and privacy by blocking ads, tracking and malware domains",
|
||||
"keywords": [
|
||||
"ad-block",
|
||||
|
|
|
|||
|
|
@ -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.1/resources/systemd/hblock.{service,timer}' \
|
||||
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.2/resources/systemd/hblock.{service,timer}' \
|
||||
&& echo '16d547d11d1eff1cd7109ef8436a899f2e868992b8d9de757e65d4ab94f64fe7 /tmp/hblock.service' | shasum -c \
|
||||
&& echo '79ecc28c13b2489400bd5ddc0ee61ddaf6c3225acb1d54b5cb4026f822ae60e8 /tmp/hblock.timer' | shasum -c \
|
||||
&& sudo mv /tmp/hblock.{service,timer} /etc/systemd/system/ \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue