Files
nixpkgs/pkgs/by-name/po/portmaster/disable-software-updates.patch
2026-08-04 18:22:17 +02:00

13 lines
725 B
Diff

diff --git a/service/core/update_config.go b/service/core/update_config.go
--- a/service/core/update_config.go
+++ b/service/core/update_config.go
@@ -86 +86 @@ func registerUpdateConfig() error {
- DefaultValue: true,
+ DefaultValue: false,
@@ -119 +119 @@ func initUpdateConfig() {
- enableSoftwareUpdates = config.Concurrent.GetAsBool(enableSoftwareUpdatesKey, true)
+ enableSoftwareUpdates = config.Concurrent.GetAsBool(enableSoftwareUpdatesKey, false)
@@ -132 +132 @@ func configureUpdates() {
- module.instance.BinaryUpdates().Configure(enableSoftwareUpdates(), configure.GetBinaryUpdateURLs(releaseChannel()))
+ module.instance.BinaryUpdates().Configure(false, configure.GetBinaryUpdateURLs(releaseChannel()))