| 1 |
Description: Disable 'checking latest stable release' via update.check on. |
| 2 |
Author: Francisco Vilmar Cardoso Ruviaro <[email protected]> |
| 3 |
Forwarded: not-needed |
| 4 |
Last-Update: 2024-08-06 |
| 5 |
|
| 6 |
--- a/modules/update/update.go |
| 7 |
+++ b/modules/update/update.go |
| 8 |
@@ -1,17 +1,14 @@ |
| 9 |
package update |
| 10 |
|
| 11 |
import ( |
| 12 |
|
| 13 |
"math" |
| 14 |
"strconv" |
| 15 |
"strings" |
| 16 |
|
| 17 |
|
| 18 |
"github.com/bettercap/bettercap/session" |
| 19 |
|
| 20 |
"github.com/google/go-github/github" |
| 21 |
|
| 22 |
|
| 23 |
) |
| 24 |
|
| 25 |
type UpdateModule struct { |
| 26 |
@@ -81,17 +78,6 @@ func (mod *UpdateModule) Start() error { |
| 27 |
return mod.SetRunning(true, func() { |
| 28 |
defer mod.SetRunning(false, nil) |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
+ mod.Info("this command is inactive in Debian.") |
| 43 |
}) |
| 44 |
} |