Skip to content

Commit

Permalink
freetz-ng focal bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke committed Jan 31, 2023
1 parent e6131bf commit 41808d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fact_extractor/install/unpacker.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@
'java-wrappers',
'libelf-dev',
'libxml2-dev',
'libzstd-dev:i386',
'libzstd-dev',
'ncftp',
'net-tools',
'netcat',
'patchutils',
'sqlite3:i386',
'sqlite3',
'zip',
]
},
Expand Down Expand Up @@ -318,8 +318,8 @@ def _edit_sudoers():
)
)
Path('/tmp/fact_overrides').write_text(f'{sudoers_content}\n')
chown_output, chown_code = execute_shell_command_get_return_code('sudo chown root:root /tmp/fact_overrides')
mv_output, mv_code = execute_shell_command_get_return_code(
_, chown_code = execute_shell_command_get_return_code('sudo chown root:root /tmp/fact_overrides')
_, mv_code = execute_shell_command_get_return_code(
'sudo mv /tmp/fact_overrides /etc/sudoers.d/fact_overrides'
)
if not chown_code == mv_code == 0:
Expand Down

0 comments on commit 41808d2

Please sign in to comment.