From 9112b5eb2ee53f8d6b95147b6c88b2c993038e76 Mon Sep 17 00:00:00 2001 From: Yury Kossakovsky Date: Fri, 9 May 2025 16:08:28 -0600 Subject: [PATCH] Refactor python-dotenv installation in system preparation script - Changed the installation method of the python-dotenv library from pip to apt for better package management. - Updated logging to reflect the new installation approach, enhancing user awareness during setup. --- scripts/01_system_preparation.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/01_system_preparation.sh b/scripts/01_system_preparation.sh index d4d16f8..de4d182 100755 --- a/scripts/01_system_preparation.sh +++ b/scripts/01_system_preparation.sh @@ -16,11 +16,11 @@ log_info "Installing standard CLI tools..." apt install -y \ htop git curl make unzip ufw fail2ban python3 psmisc whiptail \ build-essential ca-certificates gnupg lsb-release openssl \ - debian-keyring debian-archive-keyring apt-transport-https python3-pip + debian-keyring debian-archive-keyring apt-transport-https -# Install python-dotenv -log_info "Installing python-dotenv library..." -pip3 install python-dotenv +# Install python-dotenv using apt +log_info "Installing python-dotenv library using apt..." +apt install -y python3-dotenv # Configuring Firewall (UFW) log_info "Configuring firewall (UFW)..."