fixed purge does not trigger a rechecking of purged package

This commit is contained in:
2022-05-20 12:22:42 +02:00
parent 3f30b9d6a1
commit f051709c4f

View File

@@ -293,7 +293,7 @@ func (b *BuildManager) repoWorker(repo string) {
}
if pkg.DbPackage != nil {
_ = pkg.DbPackage.Update().ClearRepoVersion().Exec(context.Background())
_ = pkg.DbPackage.Update().ClearHash().ClearRepoVersion().SetStatus(dbpackage.StatusUnknown).Exec(context.Background())
}
for _, file := range pkg.PkgFiles {