This is more identifiable than a file named after the distribution
since such a file could conceivably be shipped by the distro as well.
)
)
- repofile = state.pkgmngr / f"etc/yum.repos.d/{state.config.distribution}.repo"
+ repofile = state.pkgmngr / "etc/yum.repos.d/mkosi.repo"
if not repofile.exists():
repofile.parent.mkdir(exist_ok=True, parents=True)
with repofile.open("w") as f:
)
)
- repofile = state.pkgmngr / f"etc/zypp/repos.d/{state.config.distribution}.repo"
+ repofile = state.pkgmngr / "etc/zypp/repos.d/mkosi.repo"
if not repofile.exists():
repofile.parent.mkdir(exist_ok=True, parents=True)
with repofile.open("w") as f: