aports/testing/tqm/no-self-update.patch
Fabricio Silva b093a0cc3d testing/tqm: new aport
https://github.com/autobrr/tqm
Torrent Queue Manager, a tool to manage torrents in your clients
2025-06-10 03:11:32 +00:00

16 lines
361 B
Diff

Upstream: no
Reason: disable self-update functionality, managed via apk
--- a/cmd/update.go
+++ b/cmd/update.go
@@ -20,6 +20,9 @@ var updateCmd = &cobra.Command{
// init core
initCore(false)
+ log.Infof("Version managed via apk: apk -U upgrade tqm")
+ return
+
// parse current version
v, err := semver.Parse(runtime.Version)
if err != nil {