diff --git a/subcommands/common_config.go b/subcommands/common_config.go index dfa74186..8cf308b7 100644 --- a/subcommands/common_config.go +++ b/subcommands/common_config.go @@ -226,16 +226,13 @@ func SetUpdatesConfig(opts *SetUpdatesConfigOptions, reportedTag string, reporte if len(configuredTag) == 0 && len(reportedTag) > 0 { configuredTag = reportedTag } - if len(configuredApps) == 0 && reportedApps != nil { - configuredApps = strings.Join(reportedApps, ",") - } changed := false if opts.UpdateApps != "" && configuredApps != opts.UpdateApps { if strings.TrimSpace(opts.UpdateApps) == "," { opts.UpdateApps = "" } - fmt.Printf("Changing apps from: [%s] -> [%s]\n", configuredApps, opts.UpdateApps) + fmt.Printf("Changing apps to [%s]\n", opts.UpdateApps) sota.Set("pacman.docker_apps", opts.UpdateApps) sota.Set("pacman.compose_apps", opts.UpdateApps) changed = true