diff --git a/1.Base/1.Utilities/0_setup.py b/1.Base/1.Utilities/0_setup.py index e8a49415c4f4126758c10e52f30b25ce6ebf9230..bdf169c97b97ab0c087dc0c351be97259ff5f043 100644 --- a/1.Base/1.Utilities/0_setup.py +++ b/1.Base/1.Utilities/0_setup.py @@ -8,7 +8,7 @@ def setup(interactive=True): cmds = [ 'apt-get clean', 'apt-get update', - 'apt-get install --yes make ipython ipython3 vim netcat git htop iotop bmon host lm-sensors pciutils nfs-client smartmontools pwgen dialog curl python3-requests', + 'apt-get install --yes make ipython3 vim netcat git htop iotop bmon net-tools host lm-sensors pciutils nfs-client smartmontools pwgen curl python3-requests', # Locale 'locale-gen en_GB.UTF-8', 'update-locale LANG=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8', diff --git a/tests/test_email.py b/tests/test_email.py index 09b0d7f0fa0f0d73b25b03458e35b7d98534ef2a..a7b400891abfa58551b154e35436c6d7555b2196 100755 --- a/tests/test_email.py +++ b/tests/test_email.py @@ -14,8 +14,10 @@ import imp try: import spf except ImportError: - subprocess.call(['apt-get', '-qq', '-y', 'install', 'python3-spf']) + subprocess.check_call(['apt-get', '-qq', '-y', 'install', 'python3-spf']) import spf +if subprocess.call(['which', 'net-tools']) != 0: + subprocess.check_call(['apt-get', '-qq', '-y', 'install', 'net-tools']) YELLOW = '\033[93m' GREEN = '\033[92m'