From cd4fc11c5a21167b0cf9392600967777efd66309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Sat, 22 Feb 2020 11:40:05 +0100 Subject: [PATCH] 2.1.5 --- README.md | 4 ++-- SHA256SUMS | 1 + hblock | 4 ++-- package.json | 2 +- resources/systemd/README.md | 2 +- resources/systemd/SHA256SUMS | 2 ++ 6 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 SHA256SUMS create mode 100644 resources/systemd/SHA256SUMS diff --git a/README.md b/README.md index 620d125..45017cd 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.4/hblock' \ - && echo 'a379434ebd58b0b976244d568a299318aa24e7be8d6795b5f8224bad3f4b44b8 /tmp/hblock' | shasum -c \ +curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v2.1.5/hblock' \ + && echo '5e9daba7a9a00a3e71d20b57d8fb46db560cd9834bf3b1b72b3f206fe32762e0 /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/SHA256SUMS b/SHA256SUMS new file mode 100644 index 0000000..6c9b5fd --- /dev/null +++ b/SHA256SUMS @@ -0,0 +1 @@ +5e9daba7a9a00a3e71d20b57d8fb46db560cd9834bf3b1b72b3f206fe32762e0 hblock diff --git a/hblock b/hblock index bb9f2f7..9fa36ae 100755 --- a/hblock +++ b/hblock @@ -1,6 +1,6 @@ #!/bin/sh -# Version: 2.1.4 +# Version: 2.1.5 # 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.4' + printStdout '%s\n' '2.1.5' exit 0 } diff --git a/package.json b/package.json index c2aad37..b1cf2f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hblock", - "version": "2.1.4", + "version": "2.1.5", "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 4578519..e28683f 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.4/resources/systemd/hblock.{service,timer}' \ +curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v2.1.5/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/ \ diff --git a/resources/systemd/SHA256SUMS b/resources/systemd/SHA256SUMS new file mode 100644 index 0000000..8687e33 --- /dev/null +++ b/resources/systemd/SHA256SUMS @@ -0,0 +1,2 @@ +70964235a03152d4bc68096a0b99cc59e3f77595b99330f8c55dcca79d7164ff hblock.service +79ecc28c13b2489400bd5ddc0ee61ddaf6c3225acb1d54b5cb4026f822ae60e8 hblock.timer