diff --git a/main.go b/main.go index d87361e..3f3759f 100644 --- a/main.go +++ b/main.go @@ -586,7 +586,7 @@ func (b *BuildManager) syncWorker() { sPkgbuild := strings.Split(pkgbuild, "/") repo := sPkgbuild[len(sPkgbuild)-2] - if repo == "trunk" || !contains(conf.Repos, strings.Split(repo, "-")[0]) || strings.Contains(repo, "i686") { + if repo == "trunk" || !contains(conf.Repos, strings.Split(repo, "-")[0]) || strings.Contains(repo, "i686") || strings.Contains(repo, "testing") { continue } @@ -620,6 +620,8 @@ func main() { log.SetLevel(lvl) journalhook.Enable() + check(syscall.Setpriority(syscall.PRIO_PROCESS, 0, 19)) + err = os.MkdirAll(conf.Basedir.Repo, os.ModePerm) check(err)