1
0
forked from ALHP/ALHP.GO

add more logging to repo-add fail

This commit is contained in:
2021-06-10 22:28:54 +02:00
parent 74fbc99439
commit 305546a6e0

View File

@@ -471,7 +471,9 @@ func (b *BuildManager) repoWorker() {
cmd := backgroundCmd("repo-add", args...)
res, err := cmd.CombinedOutput()
log.Debug(string(res))
check(err)
if err != nil {
log.Panicf("%s while repo-add: %s", err, string(res))
}
cmd = backgroundCmd("paccache",
"-rc", filepath.Join(conf.Basedir.Repo, pkg.FullRepo, "os", conf.Arch),