From e29f440c0b9593d4197e1c376abb750f0e5694b5 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 5 Nov 2021 22:09:51 +0100 Subject: Fixed newline in zram conf --- archinstall/lib/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 36f2e81f..1d4297a0 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -472,7 +472,7 @@ class Installer: # zram_example_location = '/usr/share/doc/zram-generator/zram-generator.conf.example' # shutil.copy2(f"{self.target}{zram_example_location}", f"{self.target}/usr/lib/systemd/zram-generator.conf") with open(f"{self.target}/usr/lib/systemd/zram-generator.conf", "w") as zram_conf: - zram_conf.write("[zram0]") + zram_conf.write("[zram0]\n") if self.enable_service('systemd-zram-setup@zram0.service'): return True -- cgit v1.2.3-70-g09d2