Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
lucaudill committed Jul 22, 2024
1 parent 36c6503 commit 699d7d7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/force-auto.py.in
Original file line number Diff line number Diff line change
@@ -120,14 +120,6 @@ class Test(abc.ABC):
return "\n".join("RUN %s" % run for run in runs)

def test(self):
# kludge up a way to fix centos mirror issue
if (self.base == "centos:7"):
kludge = f"""\
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \
&& sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo \
&& sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo\n"""
else:
kludge = ""
# skip?
if (self.preprep and not (self.force and self.run == Run.NEEDED)):
print(f"\n# skip: {self}: not needed")

0 comments on commit 699d7d7

Please sign in to comment.