Enable packages by default again (as described by docs) (#19746)

tokarchuk/v1.17
delvh 3 years ago committed by GitHub
parent 9da3d78e74
commit 3b359b1629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/setting/repository.go

@ -295,7 +295,7 @@ func newRepository() {
log.Fatal("Failed to map Repository.PullRequest settings: %v", err) log.Fatal("Failed to map Repository.PullRequest settings: %v", err)
} }
if !Cfg.Section("packages").Key("ENABLED").MustBool(false) { if !Cfg.Section("packages").Key("ENABLED").MustBool(true) {
Repository.DisabledRepoUnits = append(Repository.DisabledRepoUnits, "repo.packages") Repository.DisabledRepoUnits = append(Repository.DisabledRepoUnits, "repo.packages")
} }

Loading…
Cancel
Save