Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-11-05 22:09:51 +0100
committerAnton Hvornum <anton@hvornum.se>2021-11-05 22:09:51 +0100
commite29f440c0b9593d4197e1c376abb750f0e5694b5 (patch)
tree89e0066466bc52e8b22f5a923e3e275b06641920 /archinstall
parentdbe8ce9982b265b4a0ee3185eb50ab5979da2bc3 (diff)
Fixed newline in zram conf
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 1 insertions, 1 deletions
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