diff --git a/src/chocolatey/infrastructure.app/builders/ConfigurationBuilder.cs b/src/chocolatey/infrastructure.app/builders/ConfigurationBuilder.cs index c8ed58caf9..476fe9726c 100644 --- a/src/chocolatey/infrastructure.app/builders/ConfigurationBuilder.cs +++ b/src/chocolatey/infrastructure.app/builders/ConfigurationBuilder.cs @@ -110,7 +110,7 @@ private static void add_or_remove_licensed_source(ChocolateyLicense license, Con { // do not enable or disable the source, in case the user has disabled it var addOrUpdate = license.IsValid; - var sources = configFileSettings.Sources.Where(s => !s.Disabled).or_empty_list_if_null().ToList(); + var sources = configFileSettings.Sources.or_empty_list_if_null().ToList(); var configSource = new ConfigFileSourceSetting {