]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
fedora: Don't unconditionally remove /usr/share/locale
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 12 Mar 2023 14:00:44 +0000 (15:00 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 12 Mar 2023 14:00:44 +0000 (15:00 +0100)
mkosi/distributions/fedora.py

index a303868cceda2f8e7454a2e6c9ece583f6953892..f4fb8127b429e8a6ad2497dc526f3e9594a0aaaf 100644 (file)
@@ -114,10 +114,6 @@ def install_fedora(state: MkosiState) -> None:
 
     invoke_dnf(state, "install", packages)
 
-    # FIXME: should this be conditionalized on config.with_docs like in install_debian_or_ubuntu()?
-    #        But we set LANG=C.UTF-8 anyway.
-    shutil.rmtree(state.root / "usr/share/locale", ignore_errors=True)
-
 
 def url_exists(url: str) -> bool:
     req = urllib.request.Request(url, method="HEAD")