diff --git a/modoboa_installer/package.py b/modoboa_installer/package.py index f8ec8e09..648f6dd1 100644 --- a/modoboa_installer/package.py +++ b/modoboa_installer/package.py @@ -62,7 +62,7 @@ def add_custom_repository(self, f"{line_type} [arch=amd64 signed-by={key_file}] " f"{url} {codename} main" ) - target_file = f"/etc/apt/source.list.d/{name}.list" + target_file = f"/etc/apt/sources.list.d/{name}.list" tee_option = "-a" if file_exists(target_file) else "" utils.exec_cmd(f'echo "{line}" | tee {tee_option} {target_file}') self.index_updated = False