mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
net-dns/AdGuardHome: add 0.107.45
1. Disable `--update` option from command because it alters binary from remote 2. install wiki pages Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
This commit is contained in:
19
net-dns/AdGuardHome/files/disable-update-cmd-opt.patch
Normal file
19
net-dns/AdGuardHome/files/disable-update-cmd-opt.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
diff --git a/internal/home/options.go b/internal/home/options.go
|
||||
index d32aaa1..4503dad 100644
|
||||
--- a/internal/home/options.go
|
||||
+++ b/internal/home/options.go
|
||||
@@ -243,14 +243,6 @@ var cmdLineOpts = []cmdLineOpt{{
|
||||
description: "Don't check for updates.",
|
||||
longName: "no-check-update",
|
||||
shortName: "",
|
||||
-}, {
|
||||
- updateWithValue: nil,
|
||||
- updateNoValue: func(o options) (options, error) { o.performUpdate = true; return o, nil },
|
||||
- effect: nil,
|
||||
- serialize: func(o options) (val string, ok bool) { return "", o.performUpdate },
|
||||
- description: "Update the current binary and restart the service in case it's installed.",
|
||||
- longName: "update",
|
||||
- shortName: "",
|
||||
}, {
|
||||
updateWithValue: nil,
|
||||
updateNoValue: nil,
|
||||
Reference in New Issue
Block a user