Skip to content

Commit

Permalink
small fix part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Spitfireap committed Oct 15, 2023
1 parent 3898edc commit 7dbb145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modoboa_installer/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def add_custom_repository(self,
)
target_file = f"/etc/apt/source.list.d/{name}.list"
tee_option = "-a" if file_exists(target_file) else ""
utils.exec_cmd(f'echo "{line}" | sude tee {tee_option} {target_file}')
utils.exec_cmd(f'echo "{line}" | tee {tee_option} {target_file}')
self.index_updated = False

def update(self):
Expand Down

0 comments on commit 7dbb145

Please sign in to comment.