diff --git a/README.md b/README.md index 2a48045..897b016 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,8 @@ https://hblock.molinero.dev ## Installation ```sh -curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v2.1.1/hblock' \ - && echo 'f9fc15d181816049d088f5ffca7fb6024cdb93d476989896078c2cbac2104090 /tmp/hblock' | shasum -c \ +curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v2.1.2/hblock' \ + && echo 'd711ae3b0c6affce4237e32856d1b0e6fcff1e84523e5c8bbb25e79b4074cfe2 /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 diff --git a/hblock b/hblock index 1438f96..4c94672 100755 --- a/hblock +++ b/hblock @@ -1,6 +1,6 @@ #!/bin/sh -# Version: 2.1.1 +# Version: 2.1.2 # Author: Héctor Molinero Fernández # Repository: https://github.com/hectorm/hblock # License: MIT, https://opensource.org/licenses/MIT @@ -218,7 +218,7 @@ showHelp() { # Show version number and quit showVersion() { - printStdout '%s\n' '2.1.1' + printStdout '%s\n' '2.1.2' exit 0 } diff --git a/package.json b/package.json index 08d381e..e8510c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hblock", - "version": "2.1.1", + "version": "2.1.2", "description": "Improve your security and privacy by blocking ads, tracking and malware domains", "keywords": [ "ad-block", diff --git a/resources/systemd/README.md b/resources/systemd/README.md index d6f2079..c8832d1 100644 --- a/resources/systemd/README.md +++ b/resources/systemd/README.md @@ -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.1.1/resources/systemd/hblock.{service,timer}' \ +curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v2.1.2/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/ \