mirror of
https://github.com/hectorm/hblock.git
synced 2026-04-21 22:46:32 +05:30
2.0.10
This commit is contained in:
parent
bec121e4dc
commit
76300cf8da
4 changed files with 6 additions and 6 deletions
|
|
@ -47,8 +47,8 @@ https://hblock.molinero.dev
|
|||
## Installation
|
||||
|
||||
```sh
|
||||
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.9/hblock' \
|
||||
&& echo '8df4678d1bff96bb78c8d8698dbbf9f2b0c0167f1f22b38ee94fe5d2326c2b40 /tmp/hblock' | shasum -c \
|
||||
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.10/hblock' \
|
||||
&& echo '35ae6655dd9d3cd018d1dd996c1bded7e876d658a6095c75d2793119d39fb277 /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.9
|
||||
# Version: 2.0.10
|
||||
# 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.9'
|
||||
printStdout '%s\n' '2.0.10'
|
||||
exit 0
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hblock",
|
||||
"version": "2.0.9",
|
||||
"version": "2.0.10",
|
||||
"description": "Improve your security and privacy by blocking ads, tracking and malware domains",
|
||||
"keywords": [
|
||||
"ad-block",
|
||||
|
|
|
|||
|
|
@ -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.9/resources/systemd/hblock.{service,timer}' \
|
||||
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v2.0.10/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/ \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue