From 41808d2c18611038663d4f2e45be6b2c033865ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Stucke?= Date: Tue, 31 Jan 2023 10:41:00 +0100 Subject: [PATCH] freetz-ng focal bugfix --- fact_extractor/install/unpacker.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fact_extractor/install/unpacker.py b/fact_extractor/install/unpacker.py index 440c6791..02e42094 100644 --- a/fact_extractor/install/unpacker.py +++ b/fact_extractor/install/unpacker.py @@ -51,12 +51,12 @@ 'java-wrappers', 'libelf-dev', 'libxml2-dev', - 'libzstd-dev:i386', + 'libzstd-dev', 'ncftp', 'net-tools', 'netcat', 'patchutils', - 'sqlite3:i386', + 'sqlite3', 'zip', ] }, @@ -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: