From a0f25306a2be4ec3c0fb306612454b479a67fcad Mon Sep 17 00:00:00 2001 From: Fr4nzD13trich Date: Fri, 10 Oct 2025 17:08:12 +0200 Subject: [PATCH] bug fixed --- assets/config/deps/dependencies | 3 ++- dev_env_setup.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/config/deps/dependencies b/assets/config/deps/dependencies index a2518fe..c57ebea 100644 --- a/assets/config/deps/dependencies +++ b/assets/config/deps/dependencies @@ -1 +1,2 @@ -pkgs="openssl nginx nginx-common python3-meshtastic python3-flask python3-requests" \ No newline at end of file +pkgs_check="openssl nginx meshtastic flask" +pkgs_apt="openssl nginx nginx-common python3-meshtastic python3-flask python3-requests" \ No newline at end of file diff --git a/dev_env_setup.sh b/dev_env_setup.sh index 577a028..a4f5ce6 100755 --- a/dev_env_setup.sh +++ b/dev_env_setup.sh @@ -19,7 +19,7 @@ fi ### DEPENDENCIES -if command -v "$pkgs" >/dev/null 2>&1; then +if command -v "$pkgs_check" >/dev/null 2>&1; then echo -e " ${GRN}Dependency check passed...${CRS}\n" else @@ -30,7 +30,7 @@ else read -p " (Y/n) --> " install echo "" if [[ "$install" = "" || "$install" = "y" || "$install" = "Y" ]]; then - sudo apt update && sudo apt install -y $pkgs + sudo apt update && sudo apt install -y $pkgs_apt echo -e "\n ${GRN}Dependencies installed. Proceeding...${CRS}\n" break