1
0

fix: remove old centos repos

This commit is contained in:
dump_stack() 2024-10-05 18:03:14 +00:00
parent 51158fae47
commit daf2e9d474
Signed by: dump_stack
GPG Key ID: C9905BA72B5E02BB

View File

@ -102,6 +102,7 @@ func (centos CentOS) runs() (commands []string) {
repos = append(repos, fmt.Sprintf(repofmt, ver, "os", ver, "os", ver, "os")) repos = append(repos, fmt.Sprintf(repofmt, ver, "os", ver, "os", ver, "os"))
repos = append(repos, fmt.Sprintf(repofmt, ver, "updates", ver, "updates", ver, "updates")) repos = append(repos, fmt.Sprintf(repofmt, ver, "updates", ver, "updates", ver, "updates"))
} }
cmdf("rm /etc/yum.repos.d/*")
case "8": case "8":
repofmt := "[%s-%s]\\n" + repofmt := "[%s-%s]\\n" +
"name=CentOS-%s - %s\\n" + "name=CentOS-%s - %s\\n" +